Good job, I think you nailed it, applestar!
My first thought was maybe that means it is a beneficial if it bores into locusts (like grasshoppers). But I looked it up:
The locust borer beetle is native to North America. It attacks only black locust trees of the genus Robinia, which originally grew only in the Allegheny and Ozark mountain regions. Due to its ability to thrive in poor soils, the black locust has been widely used as a shade tree and in reclaiming land damaged by farming and strip mining. The locust borer beetle has extended its range as a result. It is now found over most of the U.S. and southern Canada. https://www.cirrusimage.com/beetles_locust_borer.htm
At least it is specific/ limited in what it attacks.