Is it possible to completely disable a control from all outside input?

Sometimes I want to disable a control - in response to other control settings, etc. - to prevent it’s associated parameter value from being changed. On the UI side DisableControl() does that job however that function only disables the UI control - it does not disable DAW automation or the DAW’s “generic editor” for that control.

Is there any way to disable a control/parameter entirely to completely “lock” it from being changed by either the UI, generic editor, or DAW automation?