My solution was slightly different to the one presented in the lecture but works well. As far as I can tell, there should be no issues with it. One less line of code as well
FRotator DoorRotation(0.f, FMath::FInterpTo(CurrentYaw, TargetYaw, DeltaTime, 2.f), 0.f);
CurrentYaw = DoorRotation.Yaw;
GetOwner()->SetActorRotation(DoorRotation);
Please feel free to give any feedback or criticisms. It’s all appreciated.