Apple's approach with Wallet is to allow the transmission of (selective) ID data without fully unlocking your phone. I believe it's the same as when you tap to pay using a credit card in your wallet. You must provide passcode/biometrics when requested, but that does not unlock your device.