You'll need to spend a bit of time learning arrays and how to save/load the data with local storage. There's also more simple methods such as setting a price for an item (sprite) and unlocking if player has x amount of coins.
On Touched (Unlock Sprite)
Coins => 10,000
- Unlock whatever.
The problem with this method is you'll need multiple global events to save the data, whereas if you use an array, you can store all the data in the array to one variable.