How to create a visible barrier that they player can deactivate only by using an specific game object?

Something like that. That can only be deactivated if you get a certain gameobject.

Thank you in advance for your help.

You could always create an empty GameObject with a 3D collider, which you then disable upon getting a certain GameObject via a script.