Here's a UE4 tutorial on how to make a simple door opening mechanic

I know it’s a little dated because I’m using Matinee, but I think its the easiest way to do it. It’s a part of a series of beginner tutorials I’m doing.
https://www.youtube.com/watch?v=3HYYEdQOSZY