I built this to lock/unlock my front door using OpenHAB, then made an instructable for it. Cheap man’s version Maybe useful for someone:
Only downside is use of RF doesn’t provide feedback for door status, guess you could hook up another ESP on the door with a reed switch if you wanted.