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.
If you do not like the default lock screen settings, you can change them using the Windows Settings panel. Although the options are limited, you can personalize them according to your requirements.