Hi,
Always try to avoid using globals.
if you have multiple things to "UnLock" maybe look into array's
There is also a more advanced array and hash table available on the
Ecosystem (Array Maker)
You can find some tutorials on the
user tutorial wiki pageHash table works similar as an array but instead of using index numbers , it is using keys and you can name the keys.
if you want to save the progress and load it again after you stopped the game,
There are also actions on the Ecosystem for saving them into "easy save" (3rd party asset)