Extended data
1, setting
If you want to leave the computer temporarily and don't want the system to log off, you can double-click the shortcut on the desktop to quickly lock the keyboard and monitor. The method is: right-click the desktop, select "New-Shortcut" on the shortcut menu, start the shortcut creation wizard, and enter "rundll32.exeuser32.dll, lockworkstation" in the text box.
Then click Next, enter the name of the shortcut in the pop-up window, and finally click Finish. In the future, as long as you click this shortcut key on the desktop, the keyboard and monitor will be locked and can only be unlocked by entering the password. If you are not satisfied with the icon style, you can also modify the icon of the shortcut.
If you want to lock the computer at startup, you can automatically load the file at startup.
Step 2 remove
Press F8 to enter the security mode when booting, and change the original account password in the security mode.
Click Start/Run, enter "Rundll32Netplwiz.dll, Users Rundll", press enter to pop up the user account window, and press enter to pop up the user account window, then deselect the option "To use this machine, users must enter the user name and password" and click OK.
In the pop-up dialog box, enter the account and password that you want the computer to log in automatically every time.
References:
Baidu Encyclopedia _ Login Lock