Proper way to pump air in pneumatics?

I am pretty sure people know how to but when i pump the air in, at full amount how do u lock the air so it doent come out? I cannot figure it out?

The schrader valve should close automatically. Some air will be released when you remove the pump, though.

The best way to get the least amount of air going out is to put your hand under the tube, and put upward pressure on the valve, then release the valve and it should just pop up without losing much air.