I haven't had it lock yet, but I'm afraid that is coming.
I have had tmj problems in the past but this is far worse. All I have to do to set it off is eat a french roll or chewy meat. It has definitely affected my diet. I don't eat those, or crunchy carrots, or bite into a whole apple any more.
I go to soft foods when it flares, and use warm, moist heat on my jaw joints and take valium (as a muscle relaxer) until it settles down. It really is a drag, even makes kissing Hubby

no fun.
I hope that you are able to nip it in the bud. I've heard it can worsen if you don't make the changes necessary to avoid triggering it.
Good luck!
Cala