I enclose them in glass blocks and panels and escape. They have a nest and flowers to feed on even have to pollinate
MC-164594 Bees can pass through blocks when growing up and leave farms