lock windows from command line code example Example: lock windows from command line Rundll32.exe user32.dll,LockWorkStation