The code management must be done through a SmartApp. My code is a DTH that allows for the SmartApps to work with ZigBee locks. There are two main SmartApps available in the community.
The first is a free version by @ethayer’s. I personally use this version.
The second is by @RBoy. It is a paid version but highly regarded.