There are a couple of issues trying to boot from an external drive besides the systems T2 security controls.
First the drive needs to be formatted with GUID and the drive needs to be setup with APFS not HFS+ as macOS Mojave and newer requires it.
The next is the version of macOS needs to be what the system requires so you do need to make sure its setup with macOS Mojave or newer.