How can bacterial DNA be released from the bacterial cell for biotechnology experiments?

(Breaking the cell open) Treating with lysozyme.