I am troubled by the fact Aircraft has to return and land when an 'over speed' in the flat/slat mechanism exist
Goerge, why the troubled mind???
The overspeed could be due to a torgue shaft failure from a drive unit/motor. One flap side moves more that the other creating an assymetric situation. The wing tip brakes then lock the flaps at that given position.
The reset is carried out on the ground because the inspections for the flaps and possible failed units can only be checked on the ground.
Better to have the flaps stuck and safely return to an airfield than to have an 'inflight reset' cause even more catastrophic damage.