I had a knee arthroscopy in March due to similar symptoms, locking knee, leg giving way. A very small tear was found but my main problem is my age; wear and tear, osteoarthritis!! It sounds, from your post, that you are young, if this is the case a tear can be repaired with key hole surgery very successfully. You may be on crutches for a while but the prognosis is very good. All the best.