As two actions, you create an invisible, insubstantial, wall of energy twice as big as normal at a point you can see within 20 meters. The wall can’t occupy the same space as a creature or object and doesn’t need to be vertical or rest on any firm foundation. A creature attempting to move through the wall, willingly or unwillingly, must make a Will saving throw. If the creature is immune to being frightened, the spell has no effect on it.
On a failure, the creature can’t overcome its terror and can’t move through the wall
On a success, the creature can pass through the wall