While flexibility is important for joint opening, strengthening the surrounding knee musculature contributes to improved stability, along with gains in power, speed and balance:
Wall squats and lunges (graduating from static to walking) can strengthen leg muscles (along with glutes and other surrounding pelvic muscles), as they are compound movements (groups of muscles working together).