And consider GrapheneOS.
Anyway, please read GrapheneOS.org in its entirety.
Other Android phones often either have broken verified boot implementations (such as only verifying the kernel) or completely lack it.
The Titan M makes Pixels even better; it is a security chip which stores keys such as those for verified boot.
The security of Pixels is why security-focused mobile operating systems like GrapheneOS often target Pixels instead of say, Samsung Galaxies.
Or on any other supported phone (see this list: https://doc.e.foundation/devices/) you can follow the install guide there. Might even work with your current phone!
The first time I followed the install guide, I ended up with a "hard brick" --- wouldn't even power up. Contrary to popular opinion, it is possible to recover from this but it does take time, effort and determination.
As a result of my experience, I made suggested changes which were incorporated into the guide for my device.