I have been dealing with this for what seems like forever. I am using a SINGLE monitor (Samsung TV) Some days I have to reset the auto-hide several times. In conversations with Microsoft they have suggested out a few "fixes" that don't. I am running 23H2 version as I was advised to configure to run the Windows 11 Insider Preview 10.0.22635.3858 (ni_release) None of the advice or insider updates have resolved the problem and I have already wasted too much time with Microsoft support.
I also have two other Windows 11 units that have NOT had the issue. Those are notebooks.