Employee was inspecting fire extinguishers. Employee walked inside of train locomotive and stepped into floor hatch, injuring left leg. The floor hatch was left open by employees to allow heat to get to air lines. Employee did not use barricade or signage.