Employee approached and entered equipment doors at the slope bottom to exit the mine. Employee closed one door and turned to find the other door near them closing. Employee reached out to catch the door. Another employee was already inside the air-lock opened the out-by set of doors to exit the mine.