Swinging Door Physics

linear and angular damping will help

If you want a more dramatic effect to lock the door in place, use a secondary spring constraint