I've used this stuff for my cats and rats. It worked a little bit for one of my cats, to keep him off the bed, but you had to spray it on the bed like right before he went on it. As soon as a couple minutes pass, it's effect wore off and the cat would jump on the bed. I don't find the stuff to be very effective. It didn't work for any of my rats.

Maybe keep one of those mats in front of your door, with the little spikes on the bottom. Turn it upsidedown and he won't want to touch it. Or maybe keep him in a crate during the day. Good luck.