Windows 10 user account is almost certainly connected to your online Microsoft.com account. It makes replacing a forgotten password easier and more secure.
On another computer, go to Microsoft’s Sign-in page. Once there, enter your email address and click Can’t access your account.
Then follow the wizard. Based on the answers and phone numbers you’ve previously provided, you’ll have to prove your identity.
Eventually, you’ll be asked to create a new password.