I have an obligation to protect her.

Literal

Her protect obligation [subject-が] exist.

保護する義務がある means 'have a duty to protect.' 義務 (ぎむ) means 'obligation, duty.'