You can use the function Logon Hours to achieve what you want.
To do this , please follow the steps below:
1- Start the Active Directory Users and Computers ADUC. (Start, Administrative Tools, Active Directory Users and Computers).
2- Locate the container that contains the user(s) account(s) that you want.
3- In the right pane, right-click the user account, and then Properties.
4- Click the Account tab, and then click <b>Logon Hours</b>.
5- Select the time blocks that you want to deny the user logon, and then click Logon Denied.
This should do the trick.