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

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