Employee was inside of a connex box being used as a temporary office. As the employee was exiting the connex the employee stepped on the side of a piece of grating in the doorway being used to remove mud from boots. The grate flipped up causing the employee's left ankle to roll.