Each mobile has different code because of the unique IMEI number allotted to them by manufacturers. It is very difficult to get the code for free online. One way is take the set to some mobile shop and ask them o unlock it for you. They will charge $10 to $20. Other way is search on eBay. You will get the code a reasonable price.
Enjoy!!
Enjoy!!