You can also press the power button five times rapidly and it goes into emergency mode. It makes a loud sound and calls 911 automatically after three seconds if you don't hit cancel. It also locks out FaceID.
So if you're under eminent attack this might be a better option. It's all configurable in setting though, so test it before you go protest.