as nicely described here: http://bansky.net/bl...windows-mobile/
But trying to undo it is another matter. How do you programmatically unlock keys?
I can do it with the silly hack of issuing a left soft key press and then faking a screen tap in the rihgt place but that's never going to be reliable. Surely there's an API for unlocking the phone?