I take it you are talking about avast free and the autosandbox ?

If so it isn’t locked in the sandbox, all you need to do is run the file to start the game again and watch out for the pop-up again. Then select run normally and remember your answer.