Did you have the sim of network to which your phone is locked...? If yes then there is a way to do so....