creating levels that are need to be unlocked

i am making a game with levels that when completeing the preceding one the next is unlocked
how do i create this action and levels itself.
how do i create this action and levels itself.
Comments
DL