Detailed settings for running anti-virus/anti-malware software is differ from each brand. Please check with the corresponding company for specific instruction.
These are just the examples from the popular software:
Avast: https://support.avast.com/en-us/article/Antivirus-shield-settings/
Bitdefender: https://www.bitdefender.com/consumer/support/answer/28557/
Kaspersky: https://support.kaspersky.com/15152#block1
McAfee: https://www.wikihow.com/Disable-McAfee
Norton: https://support.norton.com/sp/en/us/home/current/solutions/v116457581
Windows 10: https://support.microsoft.com/en-us/help/4027187/windows-10-turn-off-antivirus-protection-windows-security