title: Electron App: How to 'lock' a computer?
body: <p>I am building an Electron app, which needs to lock the user's PC (for security) after a long task is done.</p>
  
  <p>I am unable to find a way to achieve this.</p>
  
  <p>Is there a way to send Keystrokes (WinKey + L) to the OS? </p>