My jaw has been sore all day on my right

Patient: My jaw has been sore all day on my right side. Seems to be a little locked. Right ear hurts, also. What can cause that?

Symptoms: Jaw seems tight on right side, right ear hurts

Doctor: