To use this trick, follow the instructions given below:-
- Right Click on an empty space on the Desktop, point to New and click on Shortcut.
- In the dialog box that pops up, copy and paste the following code in the Type the location of the item: textbox.
- Click on Next and type a name for the shortcut in the Type a name for this Shortcut: textbox.
- Click on Finish.
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.
Windows Compatibility: This works on all versions of Windows including Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10.