Question: how do i unlock my iphone if forgot 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]. This allows you to reset your passcode and resync the data from the device (or restore from a backup).