I work from home too, and my cat tends to want attention and petting from me in the worst times, like when I'm programming in front of the computer, and very busy. She blocks my way to the keyboard, and blocks the view to my monitor, and refuses to move. I kick her out, and she's back very soon afterwards again. I had to lock the door, or else she wouldn't let me work.
Now, when I'm not working, and I want Lucy to hang out with me, like when I'm watching TV, and she goes do her own thing, and doesn't look for my attention.
Funny but our time schedule for petting / attention are always on the opposite end of the spectrum.