Follow the below given steps and check if issue is resolved:
- Press Windows key + R to open Run.
- Type netplwiz into the Run bar and hit Enter.
- Select the User account you are using under the User tab.
- Check by clicking “Users must enter a user name and password to use this computer” checkbox and click on Apply.
- Sign-out and sign-in again to check if issue persist.