Deactivate a User _ Lightning
Deactivate the User’s Profile
Search for the User's full name in the Search bar
Select the User under the heading People (screenshot 1)
Click the User Details button on the right of the page
Click Edit on the top centre of the page, untick the Active field, and click Save
The User is now deactivated. All the User's data and history is retained in the system, and the User record can be reactivated again when required
Deactivate the User's Staff Record
Navigate to the Staff Center by clicking on the Staff tab
Search for the User's name in the search bar at the top of the page and click enter
Click on the End Date field (screenshot 3. 1)
Enter the required date the User was deactivated
Click Save to complete the procedure