I use Google Lens and I also have to keep Google app installed. I agree it’s annoying that they just can’t make the apps work standalone. There already is a package that nearly all Google apps dependend on. The package is Google Play Services. Why can’t they implement this into Google Play Services as they do with all the other stuff (quick share, find my phone, location services etc…)?
The Xiaomi Android One line-up was unlockable without any hassle, but is long time discontinued. I used to use the Mi A2 lite as my main phone and you could just unlock it yourself offline. Only thing blocking you from doing it was the OEM unlocking toggle in developer settings. I still have the phone and it is running Android 14 like a charm.