AI Stop Attacking

My AI still attacks me when they are in the middle of their hit reaction montage, or their finisher montage, how do I get it so that the AI can not move or attack until their hit reaction montage is done, or until their finisher reaction is done.