How to bulk deactivate users in Salesforce (and get past "You cannot deactivate this user")
Setup deactivates one user at a time, and the 'You cannot deactivate this user' error stops you halfway. Here is a safe order for offboarding many users at once: freeze, clear the blockers, deactivate in bulk, then reassign what they owned.