You really need to add some punctuation like full stops and question marks. It's hard to understand you.
You should use Local Storage to store data between gaming sessions.
Player opens your app -> you load everything from Local Storage. If player owns any unlockables, you add them to player's inventory and remove/destroy them from the shop.
During the gaming session you store progress, coin balance and unlockables in data objects (global variables, arrays, dictionaries, whatever suits best).
When player completes a level or makes a purchase in the shop -> you save progress, coin balance and unlockables to Local Storage.