Trismus, also known as lockjaw, is a condition characterized by the involuntary contraction or spasm of the muscles of mastication, leading to the inability to open the mouth widely. This term is particularly relevant in the context of bacterial diseases affecting the nervous system, as it is a common symptom associated with certain neurological disorders.