There may come a time when you need to step in and stop one or more accounts from working for a time without deleting them. How you do this depends on your set-up.
You have two options: removing permission sets or expiring the account.
Both can be done one at a time via the accounts modify page, or in bulk by the actions button on search or list, or bulk upload.
If you set today's date as the expiry date the account will stop working and you'll have an implied record of when it was disabled. The risk with this method is that if the account is left in this state beyond the automatic deletion threshold, the account will be deleted rather permanently.
To restore access, set a new expiry date in the future.
See also: How to modify many accounts at once
If you use restrictive mode, removing an account's permission sets will remove all access to resources. If you are not using restrictive mode, you will need to use the expiry method above.
To restore access, add the relevant permission sets back to the account.
See also: Search actions
You have three options:
If you open up the account details on a local account (use list or quick-search) there's an option to disable the account (next to the save changes button).
To restore access, click the button again.
If you use restrictive mode, removing an account's permission sets will remove all access to resources. Again in the account details, go to the permissions tab, select manual mode and remove all the permission sets.
To restore access, switch the permission set assignment back to automatic.
This one has the potential to make a part of the interface a bit messy if you have to do it for individual users. It's better suited for blocking large groups such as the geology department, but...
To restore access, update or remove the rule and save.