Ransomware can lock your files and demand money. Understand what it is, how it works, and the best practices to protect yourself from this threat.