There is a child safety gate in the dressing room on the second floor. To secure the stairs, simply install it as shown in the pictures.
Don't install the gate too close to the stairs to avoid the risk of falling and to make it easier to open.