I'm working with QGIS 3.16 Hannover and I'm quite confused with the option
Features act as obstacles.
According to QGIS documentation (13. The Style Library » 13.3. Setting a label » 188.8.131.52.4.4. Obstacles)
an obstacle is a feature over which QGIS avoids placing other features’ labels or diagrams.
However, this option can only be activated if the labels for that layer are already active.
I've got a polygon layer (in blue in the example below) which I want to label (Sevilla); and a point layer (in red in the example) which I'm not labelling. What I want is that the red dots act as obstacles, so the label of the blue polygon was automatically displaced to where it doesn't interfere with them.
How should it be done?