- Create a new shortcut on your desktop (right click on empty area of your desktop and then choose New > Shortcut). This will open Create Shortcut wizard.
- Type “rundll32.exe user32.dll,LockWorkStation” in the location field.
- Click Next, and give a name to your new shortcut, click Finish.
Double click that new shortcut to try it. If you are too lazy to make that shortcut then press Windows key + L will do the same.