click on Virus & threat protection. Then click Manage ransomware protection at the bottom of the screen. Next, turn on ...
It is possible to enable or disable it from the Virus & threat protection panel in Windows Security. However, you may sometimes find that you can’t turn on or off Real-time protection.