Starting with iOS 11, Apple included a way to quickly disable Touch ID and Face ID on iOS. With Android P, Google is introducing a feature named “Lockdown Mode” that essentially does the same thing.
Android P’s Lockdown Mode will disable all biometric and Smart Lock features, as well as all lock screen notifications. This is a sort of failsafe phone setting that you can enable when your need additional security.