As AI is being put to work to fight the recent spate of ransomware, Microsoft is also working a new way to protect the next version of Windows 10.