As you explore the Factory, watch the mini-map for green door markers—these lead to rooms with ventilation valves. Interact with the valves to shut off the gas supply and make it safe to proceed.