No. Neutering will not prevent a male puppy from learning to lift his hind leg to urinate.
Neutering lowers testosterone, which affects mating and aggression, not urination habits. Leg-lifting is a learned behavior influenced by social cues and instinct, typically emerging around 6 months of age.
Potty Training Tips
Be consistent, use positive reinforcement, avoid punishment, and consider a belly band during training. Consult a veterinarian or certified trainer for personalized advice.