to not become involved in something
The two men worked together well and kept their noses out of each other's personal affairs. Usage notes: sometimes used in the form keep your nose out of it (do not get involved in something): I didn't ask for your help, so just keep your nose out of it.