That prompt usually means the password for the account being used on the PC has expired, and the fix depends on whether it is a local Windows account or a work/school domain account.
If this is a local account on the PC:
- At the Windows sign-in screen, select the password box.
- Select OK, then Reset password.
- Answer the security questions that were set up for that account.
- Enter a new password.
If already signed in with that local account:
- Open Settings.
- Go to Accounts > Sign-in options.
- Select Password > Change.
- Enter the old password, then create the new password.
If the local account password cannot be changed from that account, but another administrator account exists on the PC:
- Open Computer Management.
- Expand Local Users and Groups > Users.
- Right-click the affected user account.
- Select Set Password...
- Enter and confirm the new password.
Important: if no administrator account is available for the PC, the documented recovery option is to reset the Windows device.
If this is a work or school / Active Directory account:
- If the account is locked or the password is expired and password reset is not enabled, the required action is to contact the Active Directory administrator to reset the password and unlock the account if needed.
- If password reset is enabled on the sign-in page, use the change password link, enter the old password, then the new password and confirmation.
- If the new password is rejected, choose a different password or contact the administrator to confirm the domain’s length, complexity, or history requirements.
About the Local Users and Groups advice: that only applies when the account is a local Windows account and the current signed-in account has sufficient administrative rights. An Access denied message indicates the required admin access is not available.
References: