A screenlocker can either be a legitimate program that locks a PC while users are away from the desk, or a piece of malware, which could be anything from a “prank” software to ransomware. The latter locks a desktop while encrypting files to blackmail a victim into paying a ransom.