Ice Block

6th-level Conjuration
Casting Time: 1 reaction
Range: Self
Components: VS
Duration: 1 round

As a reaction when you take damage, you can entomb yourself in ice. You immediately gain 150 temporary hit points, which take as much of the triggering damage as possible. While you have these temporary hit points from this spell, you are frozen.
At the start of your next turn, the ice melts; you lose any remaining temporary hit points, and your movement speed becomes 0 until the end of your turn. If the temporary hit points are all lost before that, you must make a DC 15 Constitution saving throw or be Incapacitated until the end of your next turn.
At Higher Levels. When you cast this spell using a spell slot of 7th level or higher, you gain an additional 50 temporary hit points for each slot above 6th.

Source: Homebrew