As the infection goes on , muscle spasms develop in the jaw . This led to the common name of the condition , lockjaw . As the infection progresses , muscle spasms develop in the jaw ( thus the name `` lockjaw '' ) and elsewhere in the body .