You can freeze layers in a current viewport in a layout tab. This is done by activating the viewport and selecting the layers to be frozen either in the Layer drop-down menu or the Layer Properties Manager. Which layer setting makes sure that layers are automatically frozen in any new viewports?