title: write a batch script for managing password required on login
body: <p>I want to write a batch script that toggles between requiring password on login and NOT requiring password on login for my personal laptop computer. </p>
  
  <p>When I'm at home I want to be able to access the machine if it goes to standby, etc. WITHOUT the password. </p>
  
  <p>Before I leave for school or work I want to be able to run a batch script that re-enables "require password on login"</p>
  
  <p>Does anybody know what kind of command I would need for that? </p>