Disable/Enable Windows Security Virus & Threat Protection

Windows security

Virus and threat protection

Turn off real-time protection

Turn on real-time protection

Related article

Windows 10 - How to use Windows Security