before you go into the room announce, quite loudly-

i am going into the room,
i will be doing ------------,
i will open the door in -- minutes

it worked for me....now the cat sits outside the door until i open
it, he then proceeds to run thru the house, like a maniac, knocking stuff over.....

the animal learned the lesson well..



i don't close the door anymore