Microsoft Defender will automatically disable some of its features when you install a third-party antivirus application, but you can also disable the features manually.
Click Start > Settings > Update and Security
Click Windows Security from the left-hand menu
Select virus and threat protection>virus and threat settings>manage settings
Turn off the toggle next to real-time protection