The locking product should be configured in this type of way that if somebody utilizes the RFID tag (or biometric) to open the door, the lock really should open up and afterwards shut immediately after a number of seconds to stay away from tailgating. For this, we need the relay https://www.amazon.com/gp/product/B0D52F3Q89