Hate to break it to you, guys, but I’ve got some bad news. I don't know what kind of software you're talking about, but governments and police departments worldwide are buying forensic tools from Cellebrite. Just Google it. I spent some time looking into this a few years back, and basically, no phone was truly safe. Even iPhones were only secure for a few months at a time on the latest iOS.
What actually helped was turning the phone off before it got seized. They distinguish between
BFU (Before First Unlock) and
AFU (After First Unlock) because, during a cold start, the decryption keys aren't stored in the memory. Long story short: treat your phone like it’s not secure at all, no matter what you’re using. If you bought an iPhone thinking it’s some unhackable fortress, you might as well have just bought a cheap Android for a couple hundred bucks.