can we disable a field in DFF at runtime

I have created a DFF and there are 4 context values, in each context value , there are 4 segments/attributes each. I have to handle these attributes at runtime (Enable/Disable attribute at runtime)