Electronic Door Lock keypad with Arduino

It would probably be easier to insert the Arduino between the electronics and the motor.