Hello @DIVYANSH_98 ,
What you have to do is just save the character progression, and load the chara progression when you want to select level, and If the character progression is 2, then level 2+1 should be also unlocked.
You can learn save and loading system by reading this unreal docs
Saving and Loading Your Game | Unreal Engine 4.27 Documentation