HmIP-WKP: Lock/Unlock Button Item?

Hi there!

Anyone an idea how to make an Item für Lock/Unlock Button for this device?
I managed to implement the items for user and code valid/invalid, but I struggle with the actual buttons.

Greetings,
Wolfgang