Put a box on your desk when working
Many a cat owner can attest that cats love getting in the way when you’re trying to do some work at your desk.
If you find that your cat has a propensity to sit on your book or keyboard or in front of your monitor as you attempt to use it, place an open box on your desk big enough for your cat.
If there’s one thing cats love more than sitting on keyboards, it’s sitting in boxes.