for avg you have to manually disable the active protection by opening the control center and going to one of the tabs (i can't remember which it is) and telling it "Stop fucking with my files for a bit" and you'll be ok.
That was sarcasm, btw. But there is an option in the control center to disable active protection.