The doorway locks are created of plastic, so they might crack if a much better animal like a dog was positioned inside.
A gentle touch: In case your cat can see and listen to you but still seems anxious, give them a https://www.youtube.com/shorts/H_V-HZ7FHDw