You need supervised exercise with a sports physio in a therapeutic gymnasium , static cycling , foam roller exercise for front of thigh and outer aspect of thigh along with hamstring myofascial release this will make the knee more free for movement.
Next Steps
visit a sports physiotherapy clinic or take a physio session at Gym
Health Tips
Do lot of icing 10min 5times a day, if you feel knee is still staying warm