In a container with a lid including a container main body, an upper lid attached to the container main body so as to open and close a take-out port of the container main body, a plate spring for urging the upper lid in an opening direction, and a push button that can be operated between a close position, at which it is meshed with the upper lid and keeps the upper lid in a closed state against the plate spring, and an open position, at which the push button is released from the upper lid meshed therewith, a locking member is attached to the push button, the locking member being movable between a locking position, at which the locking member is meshed with the lid that is in the closed state as well as is abutted against the locking surface of the container main body as to the operating direction of the push button to thereby make it impossible for the push button to be operated to the open position, and a release position, at which the locking member is separated from the upper lid and from the locking surface of the container main body and permits the push button to be operated from the close position to the open position.