In the ArcMap, you can hold down the Alt key and select the layer to show only the selected layer, and hold down the Ctrl key to select the layer that can be displayed at all levels on the same level.
If you select the layer under the group layer, The above operation will only function in the layer under the group layer.
Does QGIS have a similar shortcut?