For multi-layer graphs with common display for show/hide plot with same name checked, it only works for same name legend.
In Origin 2020b, edit box and flyout buttons are added after Show/Hide Plots with Same control on On Layers tab of page level of Plot Details dialog. E.g. if user set it to same comments. Then when uncheck some plot in Object Manager on one layer, plots with same comments in other layers will be hidden.