How do you make a door close then load a level then open the door again?

Well here is the “Story”, you start in an elevator and you can go into levels. So first there is nothing behind the doors and then it loads in a level that i can after that unload and load in a new one. so the doors start closed and then open(Sorry probably should have mentioned that).