Some Window 10 system windows do not respond to WinMove, WinKill, etc.
Example...
Window 10's Task Scheduler ... AHK can't move or close it.
Several AHK commands not working in Windows 10
Re: Several AHK commands not working in Windows 10
Yeah, I've run in to issues with Win 10 as well. You may have to dig deeper into the Windows API to make some things work the way you want. But a good place to start is qwerty12's suggestion.