Tetanus is a significant risk factor for lockjaw ... Nerve or muscle diseases can also cause muscle spasms. For example, a rare autoimmune disorder called stiff person syndrome can cause spasms ...