Lock the computer and show login screen.
npm install win32.showlockscreenThis function will lock the computer and show the login screen. (Windows7 and higher only)
bash
npm install win32.showlockscreen
`
Use
`js
var showLockScreen = require('win32.showlockscreen')
showLockScreen()
``