Make body static

I'm wondering which way is the simplest to froze a body...
I've trayed many ways without a result. I need something like change a density to 0, just to convert a dynamic body to static. Can somebody help me? I need some clue to move forward in my project.
Thank you in advance
destroy and crate a new one?
I don't think that this is the best solution...

Original thread: https://box2d.org/forum/viewtopic.php?t=1237