Abstract: A rotary device acting as a lock between two parts and affording a supplementary function of hinging the two parts after the parts have been primarily locked. Each of the two semi-circular bolts which are not attached to one another becomes a flap carrying a hinge portion disposed in such a way that the hinge portions of the flaps are aligned with one another when the diameters of the flaps are placed side by side.