Option to not trigger a shortcut with secure input mode

I couldn't find an option to just not trigger a shortcut when secure input mode is active.

In my case, I have the shortcut "right CMD"+A and it triggers when I am in a password input field and press left command A. I would like a advanced condition or something similar.

I found a workaround:
In the BTT Keyboard settings disable: "Automatically switch to old keyboard implementation if secure input is enabled"