此腳本使用 powercfg
指令去 關閉螢幕(筆記型電腦和顯示器) 並 鎖定螢幕。 (您可以修改.bat檔案來新增或刪除此功能)。
全部透過使用 Window 的內建函數來實現。
The script that can turn off the screen (Laptop & Monitor) by using powercfg
command, and lock screen. (you can modify .bat file to add or remove this function).
All by using Window's built-in function.
點兩下即可使用,如果有提示,請點擊信任此程式,程式碼就在上面,公開透明。
Click twice to open program. If prompted, please click Trust this program.
The program code is on GitHub, public and safe.