Let WindDirectionalSource Only Affect an Area

I Use WindDirectionalSource To blow Flags and hair. I want the WindDirectionalSource can only blow player’s hair when they are outdoors. so How can I Let WindDirectionalSource Only Affect the outdoor area instead of all map? or Let some Area not be affected by WindDirectionalSource?