Abstract: Opening/closing safety device to be mounted on a bayonet pan, consisting of a body (1) to which a side handle is attached (11), and a lid (2) to which an upper body is attached (3), which consists of a lever (4) which, when it is in its initial position, guarantees that there is no pressure inside the pan and which, when it is locked (pressure cooker), prevents the pan from opening.