Hide section on edit action

How we can hide sections on edit action in erpnext ?

Please elaborate your query with an example / use-case / screenshots etc.