What mod are you running that allows you to access Raven Rock and be allied with the Enclave?
In regards to Raven Rock, I use a couple. "Raven Rock Revisted" is one. And I also use "Raven Rock Door Fix" (which prevents the door from flying off when hit with small arms). I also made a few modifications myself, adding exterior turrets and some more troopers on the inside etc.
However, none of these mods allow you to Open/close the outer door. So what I just do is use the "activate" console command to close and open the door. Its a little immersion breaking, but the way I look at it is that otherwise raiders/random enemy's could activate the door and would make Raven Rock alot less "secure". I also use a little trick with Enclave commander to get into RR quickly, which is to put a "position" (makes more sense if you have the mod) into one of the Raven Rock hangers. Then it allows me to fast travel into Raven Rock with a vertibird. To leave though, you still have to use the main door.
As for joining the Enclave, I really don't have one specific mod to do that (although there are a couple out there, Pistolero's is the main "questline" one if I recall). What I use is 1. a personal mod that makes the player faction allied to the Enclave and vice-versa, 2. Enclave commander 09 (lets you call in vertibird strikes, Enclave soldiers, and gives you a personal vertibird fast-travel option: you need to make the player faction allied to the Enclave for this to work roleplay wise though, since the squad members you can call in aren't part of the Enclave faction) and finally 3. Sharing and Caring Companions (which makes it so that you can recruit pretty much anybody as a companion, which includes Enclave troopers if you are allied with them).