I would try use open-source script/software to unlock the smartphone if it has old version of Android which have vulnerability against physical attack, but good thing you managed to make a copy of your data.
It had android 9 and yes that backup saved my ass.
Too bad, it's still considered new version of Android (since it receive security update). I was referring to version 7 or lower.