Disable hotkeys when secure mode is enabled

I have hotkeys that listen to the right modifier keys but when secure entry mode is enabled, btt cannot differentiate between them.

I would like to just disable these hotkeys in this situation.