Set up a magnetic door lock system using the TMT2 if high fever or no mask you can set the device to lock the door.  See the video below and the diagram of the connections.