You can use the Enhanced ZigBee Keypad Device Handler along with LUM to create codes and custom actions.
LUM works the new ST and the classic ST apps; it can arm/disarm SHM directly and arm/disarm STHM via an automation rule, see the LUM/Keypad DTH topics for details on how to control STHM using LUM/keypads.
One common mistake of users who are switching, when using the enhanced zigbee dth/LUM other dth’s/apps should be uninstalled to avoid any compatibility issues/conflicts. These apps/dth’s are kept up to date with the latest ST specifications/standards.