This way you can lock/unlock the Edge browser anytime. Related: How to use AppLocker in Windows to prevent users from running applications. This extension works well with default settings.