ZWave Lock - How To Approach UI for User Code Management

I am writing an app for a ZWave Lock device that has like 20 slots for user codes.

These codes can be set through ZWave calls to the device, I am just wondering if anyone has any advice on how to expose this through the user interface?

Ideally I’d like a user to be able to select a slot and then enter a name and a code, which would then when saved set the code for the appropriate slot. I was thinking I could save the name and slot number in persistant storage to maybe later on be able to tell when the lock was unlocked by a specific slot.

Any ideas or directions to documentation that would be helpful for working with the user interface within Homey would be greatly appreciated.