Control access to information on the iPhone Lock Screen
You can easily access a few commonly used features (such as widgets, media playback controls, and Control Center) from the Lock Screen. You can control access to these items when iPhone is locked. (For security, USB connections aren’t allowed when iPhone is locked.)
If you turn off Lock Screen access to a feature, you prevent someone who has your iPhone from viewing any personal information that it might contain (such as an upcoming event in the Calendar widget). However, you also lose quick access to the information yourself.
Go to Settings > Face ID & Passcode (on an iPhone with Face ID) or Touch ID & Passcode (on an iPhone with a Home button), then select your options below Allow Access When Locked.
You can turn access on or off to the following features while iPhone is locked:
You can also supply medical information and emergency contacts in a Medical ID that first responders and others can view on your iPhone when it’s locked. See Set up and view your Medical ID.