question : door with Animations

Hello
I have a question

Now I have a door with three Animations
One open
The second closingThird locked

i Know how Open and Close Door with Triggers
But I want do with my animated I created

Sorry to my English is not good