I'm not a mathematician, but I'm teaching a bit of algebra to some budding logicians, and introducing them to/reminding them of the notions of isomorphism, homomorphism, etc. I'd like to give them an example of an endomorphism which isn't an automorphism, so that they can see the point of there being a name for these separate concepts. I'd also like the example to be as simple as possible, ideally just with some infinite group. But it's proving to be harder than I expected to do this. Every candidate I've come up with turns out to be either an automorphism or not really a homomorphism in the first place.
EDIT: Should have said explicitly from the beginning, I'm hoping for an example where the homomorphism is surjective.