Create a Shortcut to Lock your Computer

Have you ever left your PC in a hurry? Have you ever felt that it is a pain to lock your system in the simple way by doing CTRL+ALT+DEL? I would imagine that you have and then, this trick is for you. This trick enables you to create a shortcut to lock your computer instead of doing so with the regular CTRL+ALT+DEL thereby providing you a way to quickly and easily get away from your PC whenever you are in a hurry.

To use this trick, follow the instructions given below:-


  1. Right Click on an empty space on the Desktop, point to New and click on Shortcut.
  2. In the dialog box that pops up, copy and paste the following code without quotes in the Type the location of the item: textbox.

  3. rundll32 user32.dll,LockWorkStation

  4. Click on Next and type a name for the shortcut in the Type a name for this Shortcut: textbox.
  5. Click on Finish.

Create a Shrtcut to lock your System

Now you will be able to lock your computer by double clicking on the created shortcut. You can also add this shortcut to the Quick Launch toolbar to lock your system with only a single click.
Author About
Akhilesh Sharma maintains and writes Tweak And Trick. He is a technology enthusiast and a science student.
You can contact him at

Featured Posts