Now you can say “Adios” to Windows+L keyboard shortcut. Your PC can be locked automatically when you’re away from your PC.

To start “Automatic Lock” feature head to Control Panel > Hardware and Sound > Devices and Printers > then activate “Dynamic Lock” at “Settings” > “Account” > “Sign-in Options”.

Setting up Dynamic Lock

To begin, you must pair your phone with your Windows 10 PC.

To do this, open “Devices and Printers,” then click “Add a device.” Once the phone has been paired with your PC, you’ll see something like this under the “Devices” heading in this control panel widget.

Once pairing is complete, you can turn on Dynamic Lock by visiting Settings > Accounts > Sign-in options. Simply click the checkbox under the Dynamic Lock heading that reads “Allow Windows to detect when you’re away and automatically lock the device”.

You can read more detailed version at PCWorld’s Dynamic Lock Guide.