Doctors usually prescribe a course of antibiotics ... doctors remove debris from the area with the infection. Treatment for joint locking in the finger or toe depends on the cause and severity ...