A carton for holding at least one article, the carton comprising: a plurality of panels that extends at least partially around an interior of the carton, the plurality of panels comprising a bottom panel, a front panel foldably connected to the bottom panel (31, a back panel foldably connected to the bottom panel, and a top panel foldably connected to at least one of the front panel and the back panel; a plurality of end flaps each respectively foldably connected to a respective panel of the plurality of panels, the plurality of end flaps being for closing an end (71, 73) of the carton; a dispenser comprising a dispenser panel that is pivotably connected to at least one panel of the plurality of panels, the dispenser panel being at least partially defined by a dispenser tear line and comprising a front portion comprising at least a portion of the front panel and a swing arm (93, 95) foldably connected to the front portion and comprising at least a portion of at least one end flap (59, 61) of the plurality of end flaps, the dispenser panel being moveable between a closed position and an open position allowing access to the interior of the carton; the dispenser comprises locking features for engaging the front panel and locking the dispenser panel in the open position, the locking features comprise a notch (111, 113) in the swing arm (93, 95) and a retention portion (122, 124) in the front panel, the notch (111, 113) engaging the retention portion (122, 124) when the dispenser panel is in the open position, the locking features comprise a stop wall (90, 92) of the swing arm (93, 95) adjacent the notch (111, 113) and an opening (97, 99) in the end flap (59, 61) adjacent the swing arm (93, 95), the stop wall (90, 92) is moveable in the opening (97, 99) when the dispenser panel is pivoted from the closed position to the open position, the opening (97, 99) is defined by a first edge (101, 103, 104, 106), a second edge (101, 103, 104, 106), a front wall (108, 110), and the stop wall (90, 92) of the swing arm (93, 95), the first edge (101, 103, 104, 106) and the second edge (101, 103, 104, 106) extend from the stop wall (90, 92) to the front wall (108, 110) and diverge so that the opening (97, 99) has a first width at the front wall (108, 110) that is greater than a second width at the stop wall (90, 92). a plurality of panels that extends at least partially around an interior of the carton, the plurality of panels comprising a bottom panel, a front panel foldably connected to the bottom panel (31, a back panel foldably connected to the bottom panel, and a top panel foldably connected to at least one of the front panel and the back panel; a plurality of end flaps each respectively foldably connected to a respective panel of the plurality of panels, the plurality of end flaps being for closing an end (71, 73) of the carton; a dispenser comprising a dispenser panel that is pivotably connected to at least one panel of the plurality of panels, the dispenser panel being at least partially defined by a dispenser tear line and comprising a front portion comprising at least a portion of the front panel and a swing arm (93, 95) foldably connected to the front portion and comprising at least a portion of at least one end flap (59, 61) of the plurality of end flaps, the dispenser panel being moveable between a closed position and an open position allowing access to the interior of the carton; the dispenser comprises locking features for engaging the front panel and locking the dispenser panel in the open position, the locking features comprise a notch (111, 113) in the swing arm (93, 95) and a retention portion (122, 124) in the front panel, the notch (111, 113) engaging the retention portion (122, 124) when the dispenser panel is in the open position, the locking features comprise a stop wall (90, 92) of the swing arm (93, 95) adjacent the notch (111, 113) and an opening (97, 99) in the end flap (59, 61) adjacent the swing arm (93, 95), the stop wall (90, 92) is moveable in the opening (97, 99) when the dispenser panel is pivoted from the closed position to the open position, the opening (97, 99) is defined by a first edge (101, 103, 104, 106), a second edge (101, 103, 104, 106), a front wall (108, 110), and the stop wall (90, 92) of the swing arm (93, 95), the first edge (101, 103, 104, 106) and the second edge (101, 103, 104, 106) extend from the stop wall (90, 92) to the front wall (108, 110) and diverge so that the opening (97, 99) has a first width at the front wall (108, 110) that is greater than a second width at the stop wall (90, 92).