Check for signal strength in both polarities with a multimeter. For reference first check the lock that's working fine. If you are only able to read full voltage in one direction then it could be a faulty motor driver (mostly an H bridge) if it's a modern car with locks connected to CAN bus then I'm not sure what needs to be checked but even in that case I'm assuming that the motors are driven by an H bridge.