Unlock levels

I have made usually lot of blueprints, but not workable unlock levels system. I have 5-6 levels in my project, and when player reaches to end level where he collects magic key/or other object, level 2 will be unlocked etc. How to simple make this? i need maybe add some booleans to game instance? and also code to that collectable object