In case, you have already installed the latest update for the Windows, it will already disabled the Internet Explorer.
However, you may use InternetExplorerIntegrationReloadInIEModeAllowed and set it to disable to prevent user from using Internet Explorer Mode in Microsoft Edge.
Have a look at: