You can set roles to a status of locked. Locking roles prevent them from being assigned users in the future.

Locked roles:

Roles can be locked by the following users:

Locking/Unlocking Roles

If you want to prevent a role from being assigned to users, you can set it to a status of locked.

You can lock roles in two contexts: