A set of panels, preferably for a furniture product, comprising a panel and an adjacent panel, wherein - the panel comprises a groove and at least a first hole connected to the groove via an opening, - the adjacent panel comprises a first edge that is configured to be arranged in the groove of the panel and a second hole that is configured to be arranged at the opening when the first edge is arranged in the groove, and - the panel comprises a locking device configured to lock the first edge of the adjacent panel in the groove of the panel, wherein - the locking device is configured to be arranged in the first hole of the panel, - the locking device comprises a locking pin and a flexible element, - the flexible element is configured to, when flexed in a first direction, move the locking pin from a locking position to a mounting position and to, when flexed back, move the locking pin from the mounting position to the locking position, - at least a part of the locking pin is configured to, in the locking position, extend into the groove through the opening of the panel and to be at least partly arranged in the second hole of the adjacent panel when it is arranged in the groove, and - the locking pin is configured to, when moved to the mounting position, be moved in the first direction away from the groove, such that the first edge of the adjacent panel is configured to be arranged in the groove of the panel. - the panel comprises a groove and at least a first hole connected to the groove via an opening, - the adjacent panel comprises a first edge that is configured to be arranged in the groove of the panel and a second hole that is configured to be arranged at the opening when the first edge is arranged in the groove, and - the panel comprises a locking device configured to lock the first edge of the adjacent panel in the groove of the panel, wherein - the locking device is configured to be arranged in the first hole of the panel, - the locking device comprises a locking pin and a flexible element, - the flexible element is configured to, when flexed in a first direction, move the locking pin from a locking position to a mounting position and to, when flexed back, move the locking pin from the mounting position to the locking position, - at least a part of the locking pin is configured to, in the locking position, extend into the groove through the opening of the panel and to be at least partly arranged in the second hole of the adjacent panel when it is arranged in the groove, and - the locking pin is configured to, when moved to the mounting position, be moved in the first direction away from the groove, such that the first edge of the adjacent panel is configured to be arranged in the groove of the panel. - the locking device is configured to be arranged in the first hole of the panel, - the locking device comprises a locking pin and a flexible element, - the flexible element is configured to, when flexed in a first direction, move the locking pin from a locking position to a mounting position and to, when flexed back, move the locking pin from the mounting position to the locking position, - at least a part of the locking pin is configured to, in the locking position, extend into the groove through the opening of the panel and to be at least partly arranged in the second hole of the adjacent panel when it is arranged in the groove, and - the locking pin is configured to, when moved to the mounting position, be moved in the first direction away from the groove, such that the first edge of the adjacent panel is configured to be arranged in the groove of the panel.