While the flight attendant was attempting to lock the door from inside the airplane, ground service personnel locked it from the outside of the airplane, catching the flight attendant's hand, fracturing her finger and wrist. The procedure for the Dornier 328 aircraft was for ground personnel to close the door flush with the fuselage, and the flight attendant to lock it.