The locking system must be configured in such a way that if somebody uses the RFID tag (or biometric) to open the door, the lock really should open up and after that shut automatically after a number of seconds to avoid tailgating. For this, we need the relay circuit. Cell https://www.amazon.fr/gp/product/B0D52F3Q89