Incorrect lock codes

Is there a way to trigger a rule when a code is used on the door that is not in Lock Code manager? ie a failed code?

Unfortunatly locks do not report failed code usage, only success.