Encryption is only effective when the phone is switched off. Therefore, practise how to switch off your phone quickly in stressful situations.
More information
Even if your phone is encrypted, professional mobile forensic software such as Cellebrite can access it via USB. As long as your phone is switched on, the encryption is ineffective as the data is decrypted. Encryption is only really effective when it is switched off. Be sure to switch off your phone before you give it into someone else's hands! If you want to be on the safe side, you can also attach a killswitch to your phone. This allows you to quickly remove the battery in dangerous situations. You can find more details on this idea in the further information.