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.
https://www.acservicetech.com/post/how-the-gas-pilot-light-f...