Mechanic was descending hydraulic shovel using manlift/basket and the locking mechanism stuck. The mechanic exited and attempted free the basket. When the mechanic pulled, the basket released causing the basket to jerk away from him. The mechanic hyper extended his right elbow. Mechanic was seen at the emergency room and given two days of light duty.