camera scaling with resolution change

Hello.

I am new to unity and have had this problem with an orthographic camera.
In the game view when the window changes size the camera zooms in which i dont exacty want to happen. I want it to have the X and Y locked so that the camera stays the same after resolution change.
Does anyone know how to help?

Thank you.

I found a fix for it.

Sorry for your time