On my work network, I'm testing the following logoff GPO with a test user account:
I've done enough GPOs and this one is also pretty simple thing to implement....
However, The GPO works when the test user is logged in but IT DOESN'T WORK when the test user's computer screen is locked. Why is that? The ideal situation is to automatic logoff my network users after hours whether they are logged in or their screens are locked. Hopefully this is simple solution because i've played with all the options in the GPO to no avail.