How to lock system?
问题 How may I completely lock the system via C-Sharp code like the Bundespolizei-Virus does? I´m trying to secure my computer with a little software that locks the system when nothing happens for 5 minutes and only unlocks when the user entered the right password. It´s not my goal to write an own virus or something like that, it´d just be nice to know how. I don´t want to lock it as windows does because I want to show my own User Interface. It´d also be useful when writing a program for public