It is a good practise to lock your workstation to prevent misuse of your workstation for others' benefits.
Especially if you've to leave your workstation unattended for a while, in which case your workstation is easily accessable to other people, like your colleague in office, your client, your student, your friend, etc.
This article will show you a way to create an clickable icon (as one click solution) on your desktop to lock your workstation while moving away from your workstation.
Follow the steps given below:
Step 1: To open Create Shortcut Wizard, right click on the desktop then select New and click on Shortcut in the menu.
Step 2: In Type the location of the item: type
and then click Next
Step 3: In Type the name of the shortcut: type
and then click Finish
Step 4: Now right click on the icon just created and click on Properties. Now in the Shortcut tab click the Change Icon button and in the Look for icons in this file box type
and click on Browse button. Now select a suitable icon and click OK.
And you are done!
The other way of doing the same thing is to press the shortcut key, i.e., Window-Key