How to enable/disable user automatic login in Windows

Open Run (Window key + R)
type netplwiz and hit enter.