My Samsung S10 has an option to "enable lockdown mode" in the power menu which disables notifications, biometrics unlock and smart lock.
But as another commenter pointed out you can hold the power button for a longer time (5+ seconds) and the phone will turn off or reboot, which achieves the same thing. Just quicker and stealthier on the iPhone.