Just use something like this bootdisk (assuming there's no Bitlocker enabled)
https://pogostick.net/~pnh/ntpasswd/
Either use the USB or ISO image and it will blank out the password to let you back in (at which point you should set another password).