I mean checkout the RFID homeassistant thread NFC reader with Home Assistant - #141 by W-rabbit I could easily mod the PCB to go into a deadbolt and move a motor. I’ve actually done this before at my work. I use this same pn532, a esp32-s2, and a servo to lock and unlock my lab door all controlled via homeassistants tag system running in a docker container.