Water heater is similar they re all similar actually.
How to turn off pilot light on wall heater.
The valve you show in your pics is a burner valve not pilot valve.
The pilot light is inside the heater behind a metal plate.
Turn the dial so the arrow or mark on top points to the off position.
In some heaters it is easy to locate the pilot light as it is just behind the heater vent.
Remove the match but continue to hold the knob down.
Make sure the gas valve is turned on lever should be parallel to the pipe turn the furnace dial to pilot position.
Pilot light left on parasitic f.
Press and hold the thermocouple bypass button otherwise no gas will flow since the thermocouple will detect that there is no pilot flame.
Re lighting your pilot flame.
Also check the first pic you posted.
Once the dial is turned off the gas supply will shut off for your furnace and cause the pilot light to turn off.
Simple video showing how to shut off a pilot light to a gas furnace.
Press and hold the pilot control knob down until the flame lights.
Follow the pilot tubing from the pilot back to the b 60 gas valve and you will see a b valve on the the bottom of the gas valve turn until pilot is off.
Switch the dial to the off position if your furnace has one.
Light a match and hold it directly beneath the tube in the pilot opening.