which type of computer threat locks a device and sends a message that states the device cannot be unlocked unless the user submites a payment?

A: Trojan Horse
B: Ransomware
C: Virus
D: Phishing Attack