Not sure it was our first time
If there is no one at gate there is a number to call and park ranger will come
I believe if it's later than 9pm the office staff leaves. You have to call ahead and tell them you will be late so they can plan for security to give you the keys.
Not sure, but we arrived after hours like 930p and they still had someone escort to the campsite.
Thanks! Your answer is awaiting moderation.