Failing to disable and lock field

I am failing to disable and lock a field, how can i do that?

Hi @Mofo

Welcome to the DHIS2 Community of Practice!

Please add more information about the use case. Are you using a data set (aggregate domain) or a program (tracker domain). How do you want to disable the field? Is it based on certain conditions?