This.My comment was about the signing out of find my iPhone. Apple doesn’t want any lock, and backed up before accepting for service. They me replace your phone with refurb if needed. It’s been always the case.
Its even stated on Apple's site:
Prepare your iPhone or iPad for service - Apple Support
Before you bring your device or send it to Apple for service, follow these steps to help protect your personal information and save time on your repair.
support.apple.com
Follow these steps before you bring your device to an Apple Store or Apple Authorized Service Provider, or send it to Apple. Depending on whether you're bringing your device in or sending it, you can find additional steps in the next sections.
If your device is unresponsive or you otherwise can't complete some of the steps, do as many as you can. You might also be able to complete some steps on the web at your Apple ID account page.
- Back up your iPhone or iPad:
- Turn off Apple Cash and remove your cards and passes from Apple Wallet.
- Turn off Find My: Go to Settings > your name > Find My, then tap "Find My [Device]" and turn it off*.