Just put in a different sim card and connect to wifi and it will unlock. Sometimes you need iCloud password.