This article explains how to create a password on a computer running Windows.
How do I set a password on a Windows 11 or 10 PC?
You can create a password through the Control Panel. Once you do, you’ll use it to log into Windows from then on, unless you remove your Windows password someday or set your computer to log in automatically.
Open Control Panel. The easiest way to do this is to type the word control into the Start menu or Run dialog box. Another way in Windows 8 is through the Power User Menu by pressing Win+X.
Select User Accounts (Windows 11/10) or User Accounts and Family Safety (Windows 8).