I’ve gotten a message which locked the pc whenever I launched it up.

It’s most likely a Ransomware is being experienced by you assault. A virus or malware is downloaded to your computer which then encrypts the contents or locks the computer and prevents it from starting up as a result of opening an infected email or an infected website. The computer then shows an email which demands re re payment of Bitcoins, …