Using native controls, there is no way to force a user to log off an interactive logon session, when their hours expire.
But with UserLock, an administrator can choose to automatically logoff users outside of authorized timeframes, or when time is up.
A warning notification can be displayed to users before UserLock initiates the session logoff.