You can lock your windows desktop by clicking on “windows key + L“. There is another way to do this. By creating a shortcut.
Right Click on your desktop and select
New -> Shortcut.
A shortcut will be created and a dialog box would pop up.
Copy paste %windir%\system32\rundll32.exe user32.dll,LockWorkStation into the text box of the dialog.
Click Next. Type any name you like.
A desktop shortcut with the name that you gave would be created. Double click anytime to lock your computer.