To block logon outside the Logon Time Restriction, yes (as the link techguru100
gave you explains), but there is nothing built in for forcing a logoff of the
local user when the time expires (not even if you are in a domain). To do this
you would need to e.g. create a script that does this time check/logoff, and
run it in a scheduled task or as a service.