Watch the video or follow along with the steps below
Steps
Go to Start > Settings > Update & Security > Windows Security > Virus & threat protection > Virus & threat protection settings > Scroll down the page and Click 'Add an exclusion'
After adding exclusions you can renable Windows Defender
Go to Start > Settings > Update & Security > Windows Security > Virus & threat protection > Virus & threat protection settings > Turn ON Real time protection