Some things to try
https://support.microsoft.com/en-us/windows/reset-your-windows-local-account-password-86912508-e584-37cc-86eb-6e9b0542b5ba
I tried my Microsoft account password,
That's not going to work for the local admin account. You could try "other user" and sign on with your microsoft account (assumes you have set that up previously)
--please don't forget to upvote
and Accept as answer
if the reply is helpful--