Locking parameters in the firmware?

I am trying to lock parameters like altitude, speed, and frame type for our drone so they won’t be changed from GCS. Where should I make these changes?

You want to do it on the vehicle side, so that it’s not easy to get around.

For instance, you could try to ignore certain parameters here: