A ransomware locks and encrypts a victim’s device data and demands a ransom to be paid in order to restore access.