Wrong.
The type of radiation is extremely important in space.
Gamma Rays will pass through almost everything. Lots of lead can't block it, but can reduce its intensity to near-zero. It is just futile because gamma rays also pass through humans without much interaction, that is why they have a much lower factor in the calculation of the equivalent dose.
Radiation of charged particles (beta, proton) will get stopped by lead so quickly, that you will get grilled by a much worse X-Ray radiation, because the energy of the charged particles is turned into Bremsstrahlung.
A few mm of aluminum or polyethylen foam (low density is important) on the other hand can reduce the intensity of such radiation enough.