Starting with Windows 10 April 2019 Update version 1903, a new voice activation privacy setting will let you choose whether apps can listen for a voice keyword and then continue listening to the microphone after a keyword is detected.
This tutorial will show you how to change Privacy settings to allow or deny apps to use voice activation for all users or only your account in Windows 10.