It might be detecting a different program as if it were autohotkey (or that a program uses autohotkey scripting that's being detected).
Doing some googling and found a few people saying that program's being seen as autohotkey include:
- MicMute
- GameCompanion
- fnlock.exe
- TCNo Account Switcher
- DimScreen (or some other screen dimming software)
- VPN's being used.
- Found someone in BF1 who had Windows Defender causing it.
- Rainmeter
You might need to try one by one with task manager and individually shut down programs 1 at a time, and check if BF6 will load. Then if you load, then it was the last program you shut down.