How to make object that unlocks the baricade

Thanks for helping me. I’m a beginner so it’s harder for me.

Now it’s throwing this error.

BP Barricade