Try the following:
If this does not work out for you, follow https://answers.microsoft.com/en-us/windows/forum/all/how-to-reset-windows-10-admin-password-using-local/eb77bdb9-d7f9-4208-976c-83ac1ddc4488
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin