右键我的电脑——管理

打开计算机管理界面 给电脑设置开机密码

计算机管理界面——本地用户和组——用户

在用户右侧的找到当前用户的名称,我这里是用管理员账户登录的,如果你为了安全可以考虑在创建一个单独的用户。

右键用户——设置密码

弹出为用户设置密码的界面,里面有提示信息,直接点继续 给电脑设置开机密码

输入密码,并确认密码后点确定,密码的设置做好事用字母加数字或者更为复杂的密码。

密码设置成功——确定

此时你可以测试密码是否设置成功了,直接点win+L,此时你必须要输入密码才能登陆,如果你暂时离开你的电脑又不想关机你可以使用此快捷键。
