Even if the display of your phone or tablet with iOS/iPadOS or Android is damaged and operation is impossible, there are various ways to recover your data. However, there is no guarantee of success.
Android's latest Play Services update now ensures your Theft Protection settings are automatically backed up and restored.