Freezing would kill some, but not all microorganisms, just as heating would. You can count on some macroorganisms to survive as well if you live in an area that experiences freezing temperatures--it tends to depend on what the organisms present have adapted to deal with. You're more likely to kill more by freezing a sample from a tropical location than a sample from a subarctic location.