The User Protect module provides editing protection for other user accounts.
Protections can be specific to a user or applied to all users in a role. Specific users can granted bypass permissions to edit other user accounts.
NOTE: User Protect does NOT restrict the user from editing their own account.
User Protect can be configured to allow delegation of user management without loosing control of the site. Root Admin user account and/or admin role can be protected from editing by non-admin users.
When combined with other modules User Protect can provide a tiered user management permission configuration that prevents a user from granting themselves admin role permissions and gaining control of site.