I do not learn by means of the method "Hello neighbors"
If in the middle of the night the cat scratches the door, I jump up and go to the door with a terrible thump, sharply open it and start to scratch on it, like a wounded bison. Two or three such nights, and the desire to get into the room disappears. He probably thinks there are wounded elephants at night.