How to have a multi character class system?

Hello everyone.
I would like players to be able to choose a character class at the first startup of the game as well as at the end of a character’s storyline. How would I go about doing this so that there are separate characters to choose from with different stats? How would I make new characters unlockable after a certain point?