Silly string is fast, cheap, easy, and fun when it freezes onto the camera in colder environments.

Maybe some spray foam?

Seems like it would produce a lot of litter on the ground before covering up the lens adequately.