Two maintenance technician were replacing a rotary lock motor. As the motor was stuck a sledge hammer was used to tap loose the motor. However when one of the technicians struck the motor with the sledge hammer not realizing the other technician apparently had placed left hand under the motor to support it when left thumb was struck.