Solution:
First, you need to determine whether the login password is a Microsoft account password or a local account password.
1. For the Microsoft account password, log in to the Microsoft official website: https://support.microsoft.com/en-us/account-billing/reset-a-forgotten-microsoft-account-password-eff4f067-5042-c1a3-fe72-b04d60556c37 follow the prompts to retrieve the Microsoft account password.
2. If it is a local account password and a password reset disk has been set before, please insert the password reset disk and click reset password on the login interface.
3. If the password reset disk has not been set, it is recommended to reset the Windows operating system (this operation will delete the data in the computer, please operate with caution).