for a while i would lock my cats in the bathroom of my apartment before leaving because i was terrified my landlord would come in while i was gone and let them out or i was convinced my cats would knock the ac out and escape i live on the third floor  they had food and water and comfy stuff and it was never for more than 2 hours but i eventually realized that my cats are fine when i am gone it took a lot of persuading myself but now they get to run free i just check the lock like 5 times sometimes running back up because if unlocked my cat can open it shitty door   i also refuse to leave before i see both cats that they are okay and that they are nowhere near the door to sneak out before i leave