A board's lanes can come from a status reason: one for each reason, in its state. A card moved between them changes its record's status reason and, with it, whether the record is open or closed.
The tasks of the demo's sample data, and a signed-in visitor's own, through Dataverse's own All Tasks view, or those about one region's companies through a view the page defines for each: a lane for each status reason, the open ones first. See the Kanban Board documentation for how lanes, moves and closed states work.