Crypto ransomware and locker ransomware are the two main types of ransomware. Crypto ransomware encrypts files in your device, rendering them unreadable, while locker ransomware hijacks the access rights system rendering the device unusable.