That means that either flame got out of the combustion chamber into the front of the heater. Its usually not actually a switch, but a fuse that pops and needs to be replaced if that happens.
Open the door, look on the lower left of the cabinet. Attached to the wall is one of these:

You can test it with a meter. Remove the wires and check for continuity across the terminals. If you have continuity, make sure the wires to the part were not damaged, or disconnected at the board when the heater was reassembled when a repair was made. If all is good, it sounds like your board is going bad.
On a rare occasion, only once, I have seen an actual switch in place of that thermal fuse. It will look something like this and just needs the button pushed in to reset:

You need to find out why flame is getting out of the chamber. If the heater wasn't running when this code popped up, check the wiring. If good it sounds like the board is going bad. Also, check the back of the control board. Lizards and large insects can get killed by the voltage at the board, or just get stuck and short out some of the wiring. Removing them sometimes clears the problem.