Yes, time and consistency - and earplugs for the humans if necessary. Don't sleep in the office with him, be completely consistent, and he will "get it" eventually. If you want him to sleep in the office, never let him sleep on the bed with you. He's probably a little confused right no, but he will get used to it. Maybe give him a pillowcase with you scent on it, or something with your human scent on it - a sweatshirt you've worn - so he'll have that "piece" of you with him for comfort.