A phone which is tied with any of the network, it is said to be locked phone . We can't use that phone with other network until you have unlocked it .
Unlocked phone :
A phone which can be compatible with all other GSM sim cards are said to be an unlocked phone . Unlocking can be done by either carrier or by any of the online vendors like SimpleUnlocking.com