Yeah, but we already have a card like that. It's called Bonewall.
I'm not suggesting that you make it unable to be played, I'm just saying that it needs a duration or an upkeep, like Wings or Flooding.
Perhaps something like: 3
"Creatures with more than 5 ATK are unable to reach you. Drains
per turn."