Is there any possibility to set read-only for the particular shapes for ex: bpmn:ServiceTask,bpmn:UserTask or any others,

Hi There,
Can I set read-only for the particular moddle elements? So, that I can restrict editing label or shapes type change. Is there any inbuilt attributes?

So your goal is to permit label editing for certain elements, right? So maybe this thread is what you’re looking for: Disable bpmn element editing

You do not restrict that through the model itself but through bpmn-js. You can disable label editing through disabling the feature and you can restrict replacement options through modifying the replace feature.