Default how to unlock htc legend UK vodafone branded

hi guys,
can you help me, i have htc legend. it's UK vodafone branded and also sim lock, i'd like to sim unlock if you know how to do this without code which i have to buy please give me tutorial. also root unlock will be nice.
thanks