a locking device for a sliding door or a swing and sliding door having a door leaf , the lock device comprising a drive train including at least one motor , a drive transmission and a drive spindle . the locking device also comprises a locking transmission and a torque dividing arrangement .