If you forget the screen lock passcode on your iPhone, you can erase the phone's data and passcode using iTunes, then restore your data from a backup. Your passcode will be removed during this process, allowing you to set a new passcode. You can also use Siri to bypass the screen lock; however, doing this on someone else's iPhone is illegal. Additionally, keep in mind that bypassing the passcode using Siri is only possible on iOS 9 and may change over time; like other methods that allow passcode bypassing, this is an unintended flaw and Apple is responsible for fixing it as soon as it's discovered.
Steps
Bypass Screen Lock on iOS 9.2.1

Ensure that your device is running the correct iOS version. This method will not work on iPhones running iOS 9.3 or later; downgrading your iOS version is possible if you're willing to jailbreak your iPhone, but be aware that this will void your Apple warranty.

Ensure that your iPhone is locked.

Hold the 'Home' button for 2 seconds to activate Siri.

Ask Siri for the current time. The screen will show a clock icon based on the local time.
- Siri responds best to the question "What time is it?" compared to other ways of asking, such as "Would you tell me the time?", etc.

Tap the clock icon to open the World Clock menu.

Tap the '+' sign in the top right corner of the screen.

Type a few characters into the search bar at the top of the screen. These characters don't need to make sense – you just need to type to select and copy.

Tap and hold the search bar, then release to highlight the text.

Tap the text again, then select 'Copy'. This will copy the highlighted text so you can paste it immediately.

Tap the arrow next to 'Copy', then select 'Share' to open a menu with various sharing options.

Tap the 'Message' option to open a new message composition window.

Tap and hold the 'To' field at the top of the screen, then select 'Paste'.

Wait for about 2-3 seconds, then press the 'Home' button. This will minimize the iMessage window and take you directly to the home screen. You have successfully bypassed the screen lock on iOS 9.2.1!
Delete and restore data using iTunes

Plug the iPhone charging cable into both the phone and the computer. The USB end (larger side) should connect to the computer, and the smaller end connects to the iPhone's charging port.
- While any USB charging cable for iPhone can be used, it’s recommended to use the one that came with your iPhone for the best results.

Open iTunes on the computer if it hasn’t opened automatically. Depending on your computer model, you may need to confirm that iTunes should open automatically after the phone is connected.

Wait for the iPhone to sync with iTunes. The progress bar at the top of the iTunes window will display "Syncing [Your Name]'s iPhone (Step [X] of [Y])". Once the iPhone finishes syncing with iTunes, you can begin the data recovery process.

Click on "Device" to open the Summary tab for the iPhone. The iPhone icon can be found under the "Account" tab.

Click on "Back Up Now" under the "Backups" section. Although this step isn’t mandatory, it ensures your data is updated and ready for restoration from the last backup.
- If you have enabled automatic backup, you don’t need to back up again—your phone has been backed up as soon as it was connected to the computer. Check the most recent backup date under the "Backups" section to confirm that your phone's data has been backed up.
- When backing up your phone, you can select iCloud to back up data to your iCloud account or "This computer" to store the phone's data on the current computer.

Click on "Restore iPhone" in the iPhone information section at the top of the iTunes page.
- If "Find My iPhone" is enabled, iTunes will ask you to disable it before starting the restoration process. To do this, open the Settings app, scroll down and select "iCloud", scroll down again and select "Find My iPhone", and toggle the slider next to "Find My iPhone" to turn it off. You may need to enter your iCloud password to complete this step.

Click on "Restore and Update" to confirm your decision. Be sure to read the information in the pop-up window before proceeding to understand what will happen when you restore your iPhone.

Click on "Next", then select "Agree" to begin the restoration process. This means you agree to Apple's software terms and conditions.

Wait for the data restoration process to complete. This may take a few minutes as iTunes erases and re-installs iOS on your device.

Choose the restore point under "Restore from this backup". Click on the toolbar with your iPhone's name to do this. The date and location of the selected backup will appear below that toolbar; select the most recent one for the best results.
- Click on the circle next to "Restore from this backup" to display the information if this is not your default choice.

Click on "Continue" to begin the data restoration process. iTunes will start restoring your phone’s data, and you will see a "Time remaining" indicator below the data restoration window.
- The data restoration process may take a considerable amount of time - typically around 20-30 minutes - depending on the amount of data being restored.

Swipe the "Slide to unlock" text on the phone screen. This is how you unlock the screen, and note that you will not need to enter a passcode!
- You can set a new passcode at any time through the "Passcode" section in the Settings app.

Nhập mật khẩu Apple ID khi được yêu cầu để khôi phục dữ liệu trên điện thoại. Lưu ý rằng bạn sẽ cần chờ thêm một khoảng thời gian để các ứng dụng trên điện thoại cập nhật và trở về tình trạng trước khi xóa.
Lời khuyên
- Nếu không nhớ mật khẩu Apple ID, bạn có thể đặt lại từ trang iCloud bằng cách nhấp vào đường dẫn "Forgot your password?" (Quên mật khẩu?) và thực hiện theo hướng dẫn trên màn hình.
- Để chống việc bỏ qua mật mã thông qua Siri, bạn có thể đặt mật mã cho việc sử dụng Siri tại thẻ "Passcode" (Mật mã) trong ứng dụng "Settings" (Cài đặt).
Cảnh báo
- Với phiên bản iOS 9.3.3, bạn không thể sử dụng thao tác bỏ qua mật mã thông qua Siri để truy cập điện thoại.
- Nếu điện thoại chưa được sao lưu trước khi xóa, bạn không thể khôi phục lại dữ liệu.
