Door Lock that Connects to Opto?

Anybody know a good external door lock that can be read by Opto (or NodeRED)? I’m not necessarily looking for a smart lock with a keypad, but just a deadbolt whose state could be read electronically? I’d very much prefer something that would be wired into a digital input module directly, but I’m also open to reading with NodeRED.

I have heard Tuya products are well supported in Node-RED, but no personal experience.