Physics Constraint Gate

Hello !
So I started using unreal a while ago, started with the easy stuff like making a house with light and doors and stuff.
But now I wanted to change things up a little and make a gate/door in a blueprint with physics instead. So say I walk into it, then I want it to open of course but after I passed thru it I’d like it to go back to ‘‘closed’’.

Hwlo