Please do a search. This has been covered time and time again.
Basically, an unlocked phone will allow you to use the phone with any GSM carrier around the world. Within the US, it will also let you use your phone with T-Mobile (if you're okay with edge data of course). Other than that, it also has a higher resale value than a carrier locked phone.