Locking of the joint is due to osteoarthritis
. Get a x ray
of the knee joint done immediately. thereafter consult an orthopaedic surgeon
to get a clinical evaluation done. You can start with food additives like glucosamines and chondroitin which help in regeneration of the joint lining.Try reducing you weight.