I used to have the bees in my front garden, and although never caused me any issues, grass cutting always concerned me, on occasions I would close them up the night before (if applicable, as sometimes, they would be out late, in the summer, 10.30pm).
I would then not around the hive, once taking the flymo up around the hive I got stung! , after doing it once, it and always wore my suit when cutting the grass, I use an electric flymo, and petrol hedge trimmer to cut my hedges.
later, in the summer when a flow on, it was more difficult, so I would cut around the hive with scissors, and only cutting up to within 20 feet of the hive.
this was one of the reasons for moving the hives out of the garden, my partner could cut the grass without hassling me to do it!