You can tell Dogmeat to "STAY"

"STAY" is a Companion Command in Fallout 4.

Description[edit]

"STAY" tells the companion to hold position and wait. He will continue doing so until you issue the command: "GO"

This command is available for the following companions: