Think cam on the motor. Find/make disc that fits motor shaft. Cut one side of the disc away, drill a hole in the side that's cut away. Use a cable with two loops to connect the motor to the lock release. When the motor turns, the cable will roll up on the disc (now a cam) and pull the lock release.