Although this advice works and it’s good, I myself do not do it… the antivirus is always on regardless of anything running concurrent. I never have a conflict with other program detects on demand an infection (or a false positive).
Of course, it demands more resources and it’s slower.