By "unlock" do you mean get past the pin-code screen that's put there by the previous owner? No, you can't bypass that. You can wipe the phone through iTunes through your computer and set it up again...however, like I said, you won't be able to use it on a carrier network - only on Wifi.