<prompt> Locking of knee joint occurs due to -Lateral rotation of femur during last degrees of extension.Medial rotation of femur during last degrees of extensionLateral rotation of femur during last degrees of flexionMedial rotation of femur during last degrees of flexion  <response>: During last stages of extension, femur rotates medially on tibia due to quadriceps femoris to lock the knee joint. 