You just wire a 24v relay from P24 and the ON wire on the Phase 2 Switch so that when on Phase 2, Relay picks. Use a N/O contact to jump out the card reader contact.

Or you can add security I/Os and do it with software. I can give you more info if you want to do it this way.