Cats can learn by observing and through trial and error. It does not matter how old the cat is. A kitten can learn to open a door too.
The kitten from the videos below is named Buzz, a 3-month old tabby who has learned to turn a door knob to open a door. This is a very smart kitten :-).
Click to play the videos - Buzz, the kitten who can open a door