Both sentences you gave in your question make sense although the use of it sounds strange when I would expect a he or she, even when referring to pets.
So that sentences are used a lot to describe actions and reactions in the form of so that I can/can't/will/won't...
When using so that you are describing an action you or someone else is taking in order for a certain action to occur.
I wrote the appointment in my diary so that I won't forget it.
He keeps the door locked so that I can't go out.
Another way of saying these sentences would be
So that I won't forget it, I wrote the appointment in my diary.
So that I can't go out, he keeps the door locked.
These examples are actions to ensure a particular reaction and there are other examples of these sentences which are actions in the hope of a particular reaction...
I went to university so that I stand a chance of landing a well paid job