Step 1: To lock your computer, go into the Start menu, and click on your profile picture which is located at the top of the Start menu. Then click Lock.

Step 2: Or you can use the Windows shortcut by pressing the Windows key and the L key together.