Does anti-virus software protect against ransomware?

It can help block some ransomware threats, but it cannot guarantee complete protection. Regular backups are one of the most important ways to reduce the impact of an attack.