iPhone and airtags
If you need to get to a safe location and you want to turn off your device, but you’re concerned that someone else may use this feature to find your location, you can temporarily turn off the Find My Network when you power off the device by tapping iPhone Findable After Power Off (under Slide to Power Off) and following the onscreen instructions. Use the task below if you want to disable this feature.
CAUTION: When you turn off Find My [device] and Find My network, you aren’t able to locate, lock, or erase your device if it’s lost or stolen.
On your iPhone or iPad: Go to Settings > [your name] > Find My > Find My iPhone > Find My network.
Disabling this feature means you can’t use it if your device is lost or stolen and powered down.
A's note: I'm researching whether turning off Find My iPhone impacts location sharing with 911 and Emergency Contacts. I don't believe it does but I will get back with answer.