Comprised environment variables

Hi,

Is there a way to lock the environment variables like tower_inventory_name so they cannot be modified by a prompt on extra variables?
Because currently I just put tower_inventory_name: “potato” in the prompt and it will just work and modify that variable.

Thanks