How can I make a "Wall of Invisibility"?

how can I achieve the opposite of this? (seing Through walls)

I want a translucent object that makes invisible an especific kind of object that’s behind it.

Just like the “Cloak of invisibility” of Harry Potter that makes invisible the people whos behind it… But in this case instead of a cloak it would be a Glass Wall or something like that