see if you can get this lock or any of the yale locks powered with august.
https://shopyalehome.com/collections/smart-locks/products/yale-assure-lock-touchscreen-with-wi-fi-and-bluetooth?variant=39341913079940
they intergrade right in to C4
try it hardwired. when i was using that driver it worked best that way also the tv is turning off and on with the apple tv because of cec. i would disable that as well.
dish has the better integration. the DIRECTV driver stops working once you get deep in to settings on the DTV receiver. This may have been fixed though.