We've got a plan to write a script or develop c# code to detect all users that lock their system instead of logging off so we can force them to log off by programming.
I couldn't find anything nothing in the search results.
Maybe there are two step required:
first : how can we detect by which user a system is locked?
second : how can we log off that user?
shutdown.exe -l -t 1
/optionally :
Is there any way to prompt them before lock? To save their open documents??