Read-Only Standard Filter

Hello, how can I make a standard filter in a doctype list into read-only after auto filling the filter.
I have a teacher account and and in their consultation list, the filter is automatically fill up by their names but the problem is they can still change the filter because it is not in read-only property

you can make it read only using read only option in cutomization field or you can write client script for the same if not working with cutomization .

Thank you but I tried making it into read-only property in customization field but still not working. I’m browsing anywhere in the net but I can’t find any code for it.