Go to the source link at the end of the blog post to learn how to set up emergency contacts and medical conditions on different phone platforms. Emergency personnel may use your phone to access this information in the event of an emergency.
Below are the steps (from c|net) on how to set up your information for Android phones (not from Samsung).
Android phones not from Samsung
Open the Settings app, scroll to the bottom and select About phone > Emergency Information. If you don’t see emergency information in that section, try this: Open Settings > Users & accounts > Emergency information.
Regardless of how you got to the Emergency Information screen, once there you can tap on the pencil icon to edit your medical information and add emergency contacts.
If the instructions above don’t apply to your phone, lock your phone and swipe up on the screen to bring up the prompt for your unlock method (PIN, pattern, etc.). Tap on the Emergency or Emergency Call button.
Swiping and tapping the button is also how first responders can view your information.
Source: You can still get emergency help when your phone is locked — here’s how – CNET