🔐 Activate the Windows lock screen (Win+L), or check if Windows is currently locked.
APACHE-2.0 License
Activate the Windows lock screen (Win+L), or check if Windows is currently locked.
npm install --save lock-your-windows
var lockYourWindows = require('lock-your-windows');
var isLocked = lockYourWindows.isLocked();
console.log("Windows is currently "+(isLocked ? "locked" : "unlocked"));
console.log("Locking Windows...");
lockYourWindows.lock();
node-gyp rebuild
npm test