GO:0016278: lysine N-methyltransferase activity
Catalysis of the transfer of a methyl group from S-adenosyl-L-methionine to the epsilon-amino group of a lysine residue.