Can you operate the phone without the SIM ?? or without inputting the code ??
If so put this into the dialer *#7465625# and all options should be off.
let me know what it says. you can remove network locks pretty easy, theres an app in the market, and even a whole thread about it somewhere on here..