Update: You can access extra event ‘data’ in the Rule Engine:
@just_jake, the lock code info is not exposed in any attribute, but only in the data property of the event. Using the information in the data property as the trigger is not currently supported in Rule Engine though. You may be interested to check RBoy’s enhanced z-wave lock device handler, which may support what you are trying to achieve.