An enzyme that catalyzes the methylation of the epsilon-amino group of lysine residues in proteins to yield epsilon mono-, di-, and trimethyllysine.