If you are asking about whether or not wiping your iPhone will unlock it, then the answer is no. It will only erase the data on the phone.