Follow these steps:
a. Press Windows key + W and type administrative tools.
b. Select Administrative Tools and select Task Scheduler.
c. Follow this path in the left hand pane. Task Scheduler Library/Microsoft/Windows/Windows defender
d. Uncheck all the boxes under Idle, Power and Network.
e. Now it won’t scan your computer.