It's absurd this has not been fixed yet. I found some simple c++ code to toggle autohide.
I have created an executable with CMake, which can be downloaded from github.
Its a simple app that you can keep on your desktop (or anywhere), open it to toggle autohide.
Link to Repo / Code - https://github.com/Ayandaftary/ToggleAutoHide
Direct Download - https://github.com/Ayandaftary/ToggleAutoHide/releases/download/Release/AutoHide_Taskbar.exe