The popliteus is a small muscle at the back of the knee.
It acts to unlock the knees when walking, by rotating the tibia inwards as the foot makes contact with the ground. It also facilitates sitting down and standing up. It also helps to pull the lateral meniscus out of the way when you squat.
