Set the specific time when user can log in Salesforce.
Setup > Manager Users > Profiles (Select a profile) Custom Sales Profile
System > Login Hours
Login Hours > Edit
Enter the start time and end time to set the login hours. The user cannot login before start time and after end time. Salesforce will log out if they exceed end time and then user will not be able to log in back. Click “Clear all times” to remove all the hours.
We have assigned login hours to the profile.