Hi @Filipe_Correia and welcome in our forums!
When you are adding an overlay, you can override the default and specify a minimum and a maximum zoom level as you can see here: https://github.com/bpmn-io/diagram-js/blob/master/lib/features/overlays/Overlays.js#L179-L180
html: '<div style="width: 10px">foo</div>'
(by the way: I restored the original post, because it is a valid question and it may be useful for other users too. If you doesn't want that for some reason, you can click on the delete button)