This object is achieved by providing, in a locking device for locking two structural parts which are moveable relative to each other, at least one locking mechanism including a latch hook which is disposed in a reference plane and adapted to swivel on a joint with an axis center, an actuating element for swivelling the latch hook about a latch hook axis, a rocking lever that interacts with the act