Apple added an Emergency mode in iOS 11 that’s accessible by clicking the sleep/wake button five times. It also disables Touch ID/Face ID and requires the passcode after that. So if you think your phone will be seized, it’s a pretty quick way to disable everything but the passcode.
https://www.macrumors.com/2017/08/17/ios-11-emergency-sos-di...