@NanaKess
Given the date of your post, I would have expected someone to respond to it before this -- but since that has not happened, I will take a shot at it ...
Sorry, but you are not going to find the pass code.
Some model HPs come with BitLocker preinstalled and that password protects the disk volumes. The first thing you need to do is to use the BitLocker Manager function to back off the key to a USB stick and/or print it -- so you have the key if you need to restore the volumes.
Since you did not do that, you are stuck -- as there is no way to work around the BitLocker encryption.
You would have to consider doing a complete factory reset to get your PC working again and this will erase everything in the process.
***If my post helped, click the White
thumbs-up symbol to say thanks***
***Please mark
Accept As Solution if my post solved your problem***
I am a volunteer and I do not work for, nor represent, HP