Any modern country with safety regulations will require a thermocouple in the loop if there is a pilot light on the appliance. The last non thermocouple appliance I saw was an industrial kitchen stove, but it had been modified for propane, and I suspect that the guy who did it ripped out the safety stuff.

Every factory appliance will gate the full gas flow behind the activation of a the thermocouple.

When you push and hold a dial or button to get a pilot lit, what you are actually doing is bypassing the thermocouple safety until it gets to temperature. If you release the “hold to light” knob too soon your pilot will go out since the thermocouple needs ~10 seconds to get to temp.