A vehicle seat that is foldable includes a lockout mechanism to prevent movement of a head rest to a folded position if an occupant is present in the vehicle seat. In response to pivoting of a back rest relative to a bottom seat cushion, the head rest normally moves to the folded position, except if the occupant is present. A sensor determines whether the occupant is present, and if the occupant is present, prevents actuation of the head rest. The lockout mechanism can incorporate a lockout pin that is spring biased to fit within a recess of a plunger, such that when the lockout pin is engaged in the recess of the plunger, the head rest is permitted to move to the folded position.