This keyboard shortcut is among the oldest ever created that’s still in daily use by millions of computer users. To lock your computer, press Ctrl+Alt+Delete, then, on the options screen, select Lock.
Windows generally gives you several ways to accomplish a common task, and this is a good example of a less common (and frankly more cumbersome) way to lock the screen.
Select the Start menu.
Select the user avatar for your Windows account on the left side of the screen.
If you use a screen saver, you can give it the additional duty of automatically locking the screen for you.
Open the Control Panel.
In the search box in the upper right corner, type “screen saver,” then select Change screen saver.
Set the amount of time you want the computer to wait before starting the screen saver, then select On resume, display logon screen.
The longer you wait before starting the screen saver, the more time you give someone to gain access to your PC before it locks. But if you make it lock too soon, the screen saver can appear while you’re using the computer without moving the mouse or typing.
A new feature in the Windows 10 Creators Update, released in April 2019, is called Dynamic Lock. If you pair your smartphone with your computer, you can set your computer to automatically lock when you take your phone out of Bluetooth range.
Some things to keep in mind about Dynamic Lock:
This feature isn’t ideal for everyone. That said, it’s convenient and cool in a high tech way, so you might want to turn this feature on as a backup for times when you forget to lock it manually in one of the other ways.
Make sure your phone is on, unlocked, and near your computer.
On your computer, open Windows’ Settings.
In the search box at the top of the Windows Settings window, type “Bluetooth,” then press Enter.
Select Bluetooth and other device settings.
If it’s not enabled, select the Bluetooth toggle. It will turn blue to indicate it’s on.
Select the + next to “Add Bluetooth or other device.”
In the Add a device window, select Bluetooth.
Select your phone when it appears in the list. You should see notifications appear on both the PC and phone. Accept both of them.
Back in Windows’ Settings, select Home > Accounts.
Select Sign-in options.
Scroll down to Dynamic Lock and select Allow Windows to automatically lock your device when you’re away.