If this code was stopping you from editing, the fields would be greyed out. You would not be able to edit fields at all. I suspect you have a cache issue going on. Try clearing caches and then see if the new settings hold.
Hi Emma Richardson,
Thank you for your reply,but i have cleaned all history and cash data but i am not able to edit pasword policy,
What should i make?