cmd打开regedit
cmd
regedit
依次索引如下
计算机\HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control Panel\Desktop
将ScreenSaveActive置为0 将ScreenSaveIsSecure置为1 将ScreenSaveTimeOut置为0
重启电脑即可