Update on "Modding a Door Lock". Help with Electrical?

Gears, some sort of framework, lots of time. I think you’d need / want a 3D printer. Be prepared to sink a lot of time into it. There is an example you can look at to get some tips, the guy did some really clean work.