How to make Unlock LVL system for 50 levels more ingeligent

Hello,
I have a game with 50 LVLs. You need to finish LVL1 to unlock LVL2, etc.
I have Save Game BP, with 50 booleans “Lvl 1 Locked”, “Lvl 2 Locked” … etc.

When I touch the finish line, I want to unlock the next Lvl (set next-LVL-lock bool to False). This is a function that my beginner’s brain can invent. I made it so far for 10 LVLs and it already looks like this:

Lets say I want to unlock LVL5. I go as follows:

  1. Get name of LVL.
  2. Is it equal to LVL4?
  3. Unlock LVL 5 (set Bool to False) and save it to Save Game BP

All is made with branches, so every time it goes through: Is current LVL lvl 1? No, is it LVL 2? No? Is it LVL 3? No…
And with this, i will have like the biggest branch ever if I make it for 50 LVLs…

So I am asking you, the more experienced ones, if I could approach this differently, in some more advanced/intelligent way.

Thank you in advance.