Airstairs locking device and airstairs

The invention provides an airstairs locking device and an airstairs, and the airstairs locking device is used for locking an airstairs body with a frame body; the locking device includes a lifting mechanism, which is arranged on the airstairs body and lifts with the airstairs body, and a locking mechanism, which is arranged in the frame body; when the airstairs body is in a retracted state, the locking mechanism locks the lifting mechanism to lock the airstairs body with the frame body; one part of the locking device is fixed on the frame body, and the other part is fixed on the airstairs body, so that the airstairs body can be stably maintained in the retracted state, even if gas release of a gas cylinder is caused by failures of the gas cylinder or a controller, the airstairs body also can be stably maintained in the retracted state, and an accident drop may not happen. Therefore, compared with the airstairs in the prior art, the airstairs locking device can avoid accidents caused by accidental fall of the airstairs body, and the safety coefficient is greatly enhanced.