Actually i think you can search ebay, many sellers have unlock codes thar costs 1-3 usd.
So check your local ebay, search for your phone model and if lucky, you'll find it.
I don't know if it is legal to unlock this way, but it worked fine for us at a 1. 99 cost.