Hello,
Are you logging in with a local account or a Microsoft account?
If you are using a Microsoft account, click “Forgot password” on the login screen, enter your email address, and receive a verification code via your phone or backup email. Follow the instructions to set a new password.
Once the reset is complete, you can log in to your computer with the new password.