Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I unlocked my old 3GS on the o2 website for free by filling in my IMEI and phone number. I deemed this method pretty easy.

Why is Android different from any other handset? You could unlock the first phones with codes entered on the keypad.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.