I think that the password is specifically a disc password
Hopefully you are presented with a password screen. If not, you might find some useful related info in this thread.
I have no means of formatting the disk
If you can’t work out how to unlock the drive and if you have another computer, raspberry pi, etc, you could flash an external thumb drive with the installer for your OS of choice. Then, you boot to that thumb drive on the new framework. The installer will let you format/wipe the hard drive in question.