I trained my cat named Aslan to open doors by putting treats on the door handle. I did this so he can free himself, since he was once locked inside a room. He learned pretty fast and can now walk through the house wherever he likes. Now we cant leave the door leading to the outside unlocked anymore though.