If the password is for Windows and not a power-on or BIOS password, then that is fairly easy task. If it is a Windows password, it will show up after everything is onscreen ( typically a scenic view ) and then ask for a sign-in when you press enter.
While the forum rules indicate that we are not at liberty to assist with passwords, it can be researched by using Google
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".