Previously discussed here: Available-Hidden columns are locked
When something like an app setting or logic Hides an Available-hidden (or Shows an Available-visible) field, it will end up being locked despite seeming as if it should be toggleable. I will link this thread to the backlog idea that exists requesting an improvement to the UX in this situation.