Stolen Device Protection is enabled
Use the Find My app instead of trying to turn off Find My in Settings.
- Open the Find My app.
- Tap Devices, then select the iPhone being serviced.
- Scroll down and tap Remove This Device.
- Follow the onscreen instructions to prepare the iPhone for repair.