Lepton number is conserved in any change.Lepton Number is +1 for any lepton and -1 for any anti-leptonLeptons and hadrons interact. For example a neutrino or anti-neutrino can change into or form a corresponding charged lepton.
νe + n → p + e-
but not:νe + n → anti-p + e+
as lepton number would not be conserved.A Muon can decay into a muon neutrinoμ- → e- + anti-νe + νμ
Charge is conserved and lepton number is conserved. But not:μ- → e- + anti-νe + anti-νμ
Charge is conserved but lepton number is not conserved.An example is the muon which decays into an electron, a muon neutrino and an electron antineutrino.The muon can only change into a muon neutrino (not an antineutrino). The electron can only be created with an electron antineutrino.