This sounds like a Windows 10 problem that I've been dealing with for a while. I think it's a Windows issue.
Try right clicking on a blank spot on the taskbar, then select "Task Manager" Go down the process list and find "Windows Explorer". Right click on it and then click "Restart". This will close and restart windows explorer. After doing this, the autohide should work. You should only have to do it once per session.