Sorry for any misunderstanding Gardibolt, I was answering your first question directly, your first question being "Once you've captured the gatehouse, how do you open the gates"

The answer is - if you order any of your units to move through the gates whilst the gatehouse is under your control then the gates will open automatically.