How do you set up unlockable abilities (need help)

So I have abilities set up for my character but want them to be unlocked. What would be the easy or best way to set this up? Or does anyone know of a good tutorial showing this? Would really appreciate the help.

Maybe by populating an array with unlocked abilities? And read information from the data table for each ability.