Which of the following types of malware locks users out of their system or device, and forces them to pay the attacker to gain access?
a. keylogger
b. ransomware
c. spyware
d. trojan horse