Question: what happens if you don't remember your iphone passcode?
Answer: It can be turned on by tapping Settings > General > Passcode Lock. If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it [or iCloud]. ... If you have forgotten the passcode on your iPhone, you will have to restore the device.