Stop animations reset and get its end position and rotation

I have an animation that runs once (Opens a door).

When the door has opened the doors immediately shuts again.

How do I get the door to stay open?

Found out a solution.

In the animator I had to uncheck “Write Default” for all states.