I think the only way is to install a custom rom on the phone bit this could void your warranty
maybe buying a phone that support easily custom roms(like fairphone, this isn’t sponsored)
It will really depend on use case. The most straight forward one is using LineageOS and F-Droid. With more specifics, I can give you a better fitting setup.
S20 FE? My understanding is that there aren’t many custom ROMs for this phone.
Yeah IDK if you are even able to get the bootloader onlocked for your version. Regardless, there is still a lot that you can do with stock. You can disable most of the Google stuff through ADB and install F-Droid. Neo store even has backgroud updates for Andrpid 12+ IIRC. Here is a short guide: https://www.reddit.com/r/degoogle/comments/jqxe1u/tutorial_how_to_degoogle_any_android_phone/
I can’t vouch for performance or update breakages though.
I use lineage os with additional degooglification I didn’t manage to install it myself, had to ask for it a hacker I know