A cover includes multiple panels pivotally connected together and foldable between a stacked arrangement and a deployed arrangement. Side rails are attachable to opposite sides of the cargo box and include ledges. The stack can be rotated between an intermediate position and an upward position in which the stack extends above the plane with the upper surface of at least one section disposed at an angle intersecting the plane. A slidable member can slide along a side rail and support a cam lock mechanism moveable between locked and unlocked positions. A link arm can be coupled between the slidable member and the stack to require movement of the slidable member longitudinally along the side rail in response to movement of the stack between the intermediate position and the upward position.