A door-mounted device that reads an ID card or tag and checks its credentials to decide whether to unlock the entry is…