Prone Hang
Lie on your stomach with both legs straight. Slowly push yourself toward the foot on your bed until your legs are hanging over the edge (your knee caps should be off the edge). Allow your legs to hang there, holding that position for 5 to 30 mins, as tolerated.
This exercise will help straighten your knee.