I'm not sure what you mean by 'publish'.
Agents can see tickets that are in a department that they have access to.
You can make it so that Agents only see tickets assigned to them (their account "Limit ticket access to ONLY assigned tickets").
You can make it so tickets are locked for a time period if someone in it.
Admin panel -> Settings -> Tickets -> Lock Semantics