And it still appears that its almost impossible to do it reliably. It's almost definitely monitor-dependent,Could someone try making it anyway? I have multiple monitors I can try.
Win+L works great, and if you really want to log off, log off properly!But I want to be able to keep the computer logged in to run a program after I leave but logged out when someone else wants to use it. Btw the computer can be forced to log off with the command "shutdown -l -f".