I cannot think of the name off hand. May be "thermostatic control" (?) Old electric cookers had this type of controls. Within the switch, there is a bimetallic strip with a very fine gauge heating element wound around it.
As the current passes thru it, the heat will bend the bi-metal strip and that operates a pair of contacts that breaks the supply to the heating element as well as the wire wound around the bi-metal strip.