How to lock and Unlock levels in Corona SDK

 can someone help me out real quick how do i unlock and lock levels in corona.  i read all the forums and  no luck is their a zip file that works with story board that    would work . i wan’t to have a 3 star system  like in angry birds ect… but most important i want to have a simple lock and unlock system. in my game i have some balloons when you pop  one balloon count - 1 and  when count = =  0 the person  beats the level and how would i go about making the count   determine  if level 2  is unlock ect… how would i make a  little lock icon on  level 2 to show its lock how would i go about making this a reality in my game. i am  90 % to complete my game and i would  love if some one help me out with lock  and unlock the level with GGdata of text file it doesn’t matter at all as long as it work . thanks :D    

http://www.youtube.com/watch?v=JBmHLIqxsGE  watch the first part of this video how would i go about making the stars  like that . but my most important thing is getting the levels to lock and and unlock thanks…  :)  

also i used this  site but don’t work out http://gamedevnation.com/game-development/lockunlock- and this too 

levels/ http://forums.coronalabs.com/topic/35119-need-a-skilled-developer-to-quickly-finish-up-a-project/

There won’t be a quick solution to this.  You could find some people who sell existing templates that do it, but here is no existing Corona SDK API to do this.  Why?

Because every game is different with different unlock rules and requirements.   People use Storyboard in different ways and it’s really up to you how you want to implement this.   Generally I would have a table that represents each level with a status flag (true or false) if it’s locked or not.  Then when drawing your level select screen you would check  that table for the level you are drawing and if it’s true (locked), draw your lock image, if it’s unlocked, draw the unlocked images. 

You could use that same table to also include values for the # of stars and the score for that level or any other attributes you want to track.

Look for tutorials on using tables, drawing images, storing data across scenes, etc.

This is a duplicate post;  Please comment on this one:
 

http://forums.coronalabs.com/topic/38177-how-to-unlock-and-save-levels-in-corona-sdk/

There won’t be a quick solution to this.  You could find some people who sell existing templates that do it, but here is no existing Corona SDK API to do this.  Why?

Because every game is different with different unlock rules and requirements.   People use Storyboard in different ways and it’s really up to you how you want to implement this.   Generally I would have a table that represents each level with a status flag (true or false) if it’s locked or not.  Then when drawing your level select screen you would check  that table for the level you are drawing and if it’s true (locked), draw your lock image, if it’s unlocked, draw the unlocked images. 

You could use that same table to also include values for the # of stars and the score for that level or any other attributes you want to track.

Look for tutorials on using tables, drawing images, storing data across scenes, etc.

This is a duplicate post;  Please comment on this one:
 

http://forums.coronalabs.com/topic/38177-how-to-unlock-and-save-levels-in-corona-sdk/