Hello Anna,
The tutorial below can help show you how to reset the password of an account in Windows 10 depending on if this is for a local account or Microsoft account.
Option 4 or 5 is good for when you are unable to sign in to the account or have another administrator account to sign in to change the passwords.
https://www.tenforums.com/tutorials/14699-reset-password-user-account-windows-10-a.html