@Anna Ranieri Could you use a caribeaner clip through the lock spot? Instead of s lock with a key? That's what we use on our gates.
This is what I use. I have two on duck house door and each door of the coop. Then I have one on the gate and nest box area.