I would agree with physiosam and ATT Ireland,
firstly proper diagnosis.
proper location
all stresstests especially varus/valgus
then muscular tests etc.
probablyMRI to be sure of no lig.,menisc, or even bonbruise.
(Not trying to make you sweat it's just the way we think,so I wrote it down, that you can follow)
How deep do you squat? over 90degrees flexion?
When you move your leg from Out to In and create the symptom, is Your knee straight or bend?
Does the pain irradiate?Does it go from somewhere to somewhere?Probably kneecap?
Things you might do without harming it. Not only bulge more muscle around it
but activate the right ones.
In my opinion a highly underestimated muscle that stabilizes and locks the knee as well as taking tension from the ventral and lateral parts, is M.Poplitaeus - try to activate and strengthen it. As well as your hamstrings close to insertion - meaning you need to change the Angel when working out.So That you feel the exercise more toward the knee than the entire hamstring oder butthock.
Try strengthening of Hamstring and Poplitaeus with muscular endurance, then over to 6-12 reps.
Further I would recommend NO SQUATTING or Lunges until proper diagnosis.
There is a risk of meniscal, ligamental involvement or further even bonebruising! Reduce the impacts or loads. So try cycling instead of jogging.
Use the time that you need to recover your knee on other weaknesses,
Abs whatever.
Hope this helps
keep us up to it
Greets