Luggage compartment lock defect?

So, dear friends, I need help again. It usually only takes 1 – 2 months until the orange warning triangle lights up in the dashboard. It started with a wobble contact of the trunk lamp, it went ON/OFF arbitrarily during the ride or in the stand and at the same time the hated warning triangle came with the hint: “case compartment flap open”. I solved the cover in the trunk and the cables from the hinge where the wire harness is bent through to the lock and it is all continuous. Meanwhile, the trunk lamp does not work any more, even after bulb replacement, and when the car is closed by ZV, there are no flasher signals. When unlocking by ZV again flasher signals arrive. The warning triangle and the error message sit permanently visible. Is the trunk lock broken? Otherwise it works perfectly.