Knee locking up on me. What could be causing it to lock up?

Torn cartilage. A locked knee is a term used to describe a patient's inability to either bend or straighten their knee. If this what you asking about the common reason torn cartilage in the knee.