I logged a similar issue with hide/show with the older Pipeline component: " Stop GH Geometry-Pipeline from updating on ‘hide’ command?" and at the time it was logged as issue 72326. Not sure of the current status or if the behavior would be the same with the new Query components?
I agree though - personally: I do not like this behavior at all. I am currently wasting time here on the site since I am sitting and waiting for another 5 minutes or so because I accidentally hid an object without locking GH, and now the entire GH scene is recalculating for no reason.
I have noticed that this happens with show/hide, layer on/off, and sometimes even the movement of a clipping plane (though not always).