I believe some aircraft have safety settings that prevent you from moving the flaps at the wrong speeds. X-Plane aircraft are modeled closely after the real world aircraft, so you may have to research the real plane to find these limits. I do not know them off of the top of my head as I am not a pilot.