To enable autologin in Windows, open registry editor and navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device in registry editor.

Find the key DevicePasswordLessBuildVersion and make it’s value to 0.

Open run and hit the command:

netplwiz

Uncheck the tick box from Users must enter a username and password to use this computer. -> OK -> Enter your credentials

Next time when you turn on your PC, it will be auto logged in.