Can you back up a locked iPhone to iCloud if you forgot your passcode?
I changed the passcode to my iPhone earlier this week as my workplace requires that it's changed periodically (8 digit passcode). I unfortunately forgot the passcode and can't unlock my device. My photos haven't been synced with iCloud as I didn't have enough storage but I recently subscribed to a larger storage plan but had not yet backed up my iPhone.
It seems my only option is to restore the iPhone through recovery mode, however, as I don't have a recent backup, a lot of my recent photos and documents will be lost. I'm wondering if there's a way to sync/backup the phone to iCloud while it's locked before I restore it so that I can then restore it from the new backup rather than my previous one which is two years old?
iPhone 12 Pro