Follow the steps below to disable real-time malware protection without uninstalling Avast from your computer:
Launch the Avast main window.
Go to Settings.
Navigate to Protection > Core Shields.
Click the green checkmark next to Core Shields.
Confirm your decision to turn off real-time malware protection.