Locking Windows is a security feature which is very useful when you need to leave your PC for a short period of time. When locked, Windows 10 shows the Lock screen or the login screen depending on your PC settings, so nobody can look what is on your Desktop. In this article, we will explore all the possible ways to lock your Windows 10 PC.
Lock Windows 10 from the Start menu
Lock Windows 10 from the Ctrl + Alt + Del security screen
The good old Ctrl + Alt + Del security screen also contains the Lock command. Press Ctrl + Alt + Del shortcut keys together on the keyboard to bring up the security screen and then choose the option to Lock:
Lock Windows 10 using a keyboard shortcut
Ever since Windows XP, the operating system has the ability to lock your user session using the Win + L keyboard shortcut. Once you press it, Windows 10 will lock your PC instantly. This is the fastest way to lock your PC.
Lock Windows 10 using a console command
The command line can also be used to lock your Windows session. Using the command below, you will be able to include it in various batch files or just create a shortcut which will lock Windows 10. Use the following command:
Tip: For the console command, you can create a useful alias. See details here: How to set aliases for the command prompt in Windows.