Press Win + R, type gpedit.msc, and press Enter.
In the Group Policy Editor, go to:
Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options
Find and double-click on the policy:
Accounts: Limit local accounts use of blank passwords to console login only
Set it to Disabled and click OK.
After applying the changes, close the Group Policy Editor and restart the computer to apply the settings.