A vehicle includes a roof, a compartment, and a lid. A roof kinematic
system moves the roof between a closed position and a stored position in
which the roof is in the compartment. The lid is movable between a closed
position in which the lid covers the compartment and an opened position.
First and second locks include respective closing parts movable between
locked and unlocked positions. A shared kinematic system connects the
closing parts to synchronously move them together. When the roof is in
its stored position within the compartment and the lid is in its closed
position over the compartment, the shared kinematic system moves the
closing parts to their locked position such that the first part interacts
with the roof and locks the roof within the compartment and the second
part interacts with the lid and locks the lid over the compartment.