With the toggle “Allow Real Passcode” disabled, the real passcode can still be used.
Reproduction steps:
- Disable “allow real passcode” in settings
- Lock device
- At lock screen, enter real passcode
- See “Unlocked” text at top of screen (where the clock is) - passcode screen remains, phone appears to be locked still
- Press cancel to exit passcode screen
- Press home button, passcode screen is not presented, phone is unlocked.