Ransomware is a type of malware (malicious software) which installs by cyber criminals on your computer so they can bolt it from a distant place. Usually it generates a pop-up window, email or webpage alert from what looks like an administrator right.
Usually, people never think before creating any password which is the quite risky. Before creating nay password, you should be very careful because sometimes unknowingly it may out you at risk.