There are different ways to set boundaries at work. For example, you might define personal space, make it known that you cannot stay late, or say no to working on a special project.