File Explorer folder views and their defaults work the same from Windows 7 all the way to Windows 11. The "Apply to folders" button will set the selected view for all folders of the same type. Subfolders that are a different type (e.g. Generic vs Music vs Videos) will not change, but you can first change the folder type for a folder tree to be all one type.
Anyhow, it's much easier to run WinSetView to set the default folder views globally. It's a free, open source, portable app that just sets File Explorer folder view default registry entries for you. It leaves nothing running, so there's no overhead.