Actually In dynamic layout we have 7 property all are text field , as per new requriment one property value greater than 0 that time all field are avilable to editable otherwise it’s not editable .
On fields you can add a disable/Read only condition for a property flag, let’s say “IsEditable” and you can set this flag on the click of your edit button. You can add a DT in click of edit button , where you can check if the value of the required property is greater than 0 or not,