Hey reset your user password or ping Using The Safe Mode.
1. Press F8 before the Windows 10 loading screen.
2. Choose a Windows 7 safe mode option – “Safe Mode with Command Promote” and then please press “Enter” to next step.
3. Wait for Windows 7 to load files . And type net user in the Command Prompt and press Enter to see how many user accounts in locked laptop.
4. Type your locked user account with a new password in the command prompt.
5. After restarting the laptop, please login the account with the new set password.
This should help you out get out of the issue being faced. Also dont forgot to update the windows version.