The phrase
"to protect a computer" means keeping the computer safe from harm or damage. This involves securing it against viruses, malware, and unauthorized access, as well as taking precautions to prevent any physical damage or data loss.
Full definition