The options I know of are the Pinephone and the Librem 5. They're various degrees of open source and secure. They're also slow, lack most software, require constant tinkering, and have terrible battery life. The pragmatic option is to get an Android phone you can install LineageOS on, use the fDroid store, and don't install Google services. This way you can sideload normal apps if you need them.