Locked knee can occur for a variety of reasons. If the underlying cause is pain, physical therapy may be recommended as a treatment.