You might be interested in OOSU10 (https://www.oo-software.com/en/shutup10) which has options to disable just about everything you can think of, including Defender.
I've started using OOSU10 on all my Windows installs as well as Windows10Debloater. It makes a performance difference on resource constrained devices and for other devices I just like a cleaner Windows install.