Hello jc351226, and welcome to Ten Forums. :-)

In addition, you could use AppLocker to block executables and apps if using Windows 10 Enterprise or Education.

Use AppLocker to Allow or Block...