You can't use this setting for console logoff.
This forced logoff policy is a policy for SMB server, i.e. the computer
which has a network share accessible from a network. This policy, if
enabled on a server, ends the users session with the server when their
logon hours expire.
If the request had been "log off the user account if it have been
inactive for 2 hours", I agree that this could have been an option.
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide: