Hard Drying Epoxy. Fill Holes. Laugh as Bees Cant Get out or in.
Of Course I never tried this, But It seems logical without bees bringing in food to the Queen and Larvae, They couldnt survive.
Of course thier wood boring bees, so there is a chance it could create a bigger problem? Who Knows... Try it out.
We had a Car Port, that the bees absolutley loved. I Would grab a Stick or Pipe or anything and swat them down for hours.