There is no doubt some cool way to do this in command prompt but I’m just a huge fan doing things through a clever UI experience. My weapon of choice is PCUnlocker. I recommend running a trial version first to see if it will actually recognize your system before purchasing a license.
Next time record that password and store it safely/securely!