The gear in my lock motor gave out. I'm replacing the motor. I'm curious as to how the motor knows it is fully locked or released? There must be sensors of some sort? Also there are two cables that come out of the motor that have spline fittings. Can they be misaligned, one rotated further than the other so that the locking mechanisms don't close at the same time? I'm trying to understand if the gear really just gave out or is it a secondary symptom of an alignment or sensing problem.