How to Turn Off Real Time Protection in Windows 10
Select Start - Settings - Update & Security - Windows Security - Virus & threat protection - Virus & threat protection settings in previous versions of Windows 10. Switch Real-time protection to Off.