Copy the line below to the clipboard. rundll32 user32.dll,LockWorkStation Create a shortcut using the above line as a path. Set a hot key for the shortcut on your desktop.