Homematic HG-HM-CC-RT-DN lock buttons

Hi!

If you use Homegear and its MQTT integration, this is doable like I have described here (just a different property in this case):

There is also another solution using a Homegear script in this thread.