Autologin and automatically lock the screen