Lock your system
Shows the login screen the next time you use the computer.
Supports macOS, Linux, and Windows.
npm install lock-system
import lockSystem from 'lock-system';
lockSystem();
Locks the system.
Throws an error if executing the lock command fails or if the OS is not supported.
- lock-cli - CLI for this module
- alfred-lock - Alfred workflow