How can I unlock camera from staying right side up?

It’s like it’s auto-correcting and only staying with “z” as it’s up vector.