I'm using Moodle 3.2 version.
And installed "One Topic Plugin" for course format.
https://moodle.org/plugins/format_onetopic
If the Tab-1 is active, remaining will be inactive, and tab4 is active, remaining will be inactive.
Example shown in attachment.
Thanks in advance...