The locking machine have to be configured in this kind of way that if an individual uses the RFID tag (or biometric) to open the door, the lock should really open then shut immediately after a several seconds to avoid tailgating. For this, we'd like the relay circuit. Cell access, https://www.amazon.es/gp/product/B0D52F3Q89