Some locks report extra ‘data’ values and you can access those details from the triggering event.
Sometimes it just reported as the codeId based on the slot of the keypad code entered, so you might want to correlate that back to a meaningful label in an expression.