And it still appears that its almost impossible to do it reliably. It's almost definitely monitor-dependent, and I don't think its something you can do as a small, simple program. However, Win+L works great, and if you really want to log off, log off properly! (As Stoic Joker said, forced logoffs are great for losing data. Its sort of like holding down the power button because you can't wait for the computer to turn itself off.)