Pipe Freezing

Need to join or modify a pipe but cant turn off the water, Pipe Freezing may be the solution, ensure the water is not flowing, freeze the pipe and carry out the repair