Hb1hf Can it go the other way? I mean, prevent the 3rd-party keyboard that is set as default from being used to unlock the phone?
I think it's likely you could unpack the APK, hand-edit the manifest to remove the declaration of Direct Boot support, and re-pack it. But you'd need to do that for every update.