Aluminum foil is more than thick enough to block plane waves of these frequencies (ballpark 1GHz) to a high ratio.
It is not easy to employ in practice, however. Seams are transparent to RF fields, unless they are a particular width of overlap, or the seams have been shorted over with conductive EMI tape.
Note that it's not enough to simply lay foil together, or use generic aluminum (actual-duct) tape: the surfaces may be coated or oxidized, or a layer of adhesive insulates the foil backing. Special care must be taken to create a contiguous conducting shield.
Finally, for full shielding, the device to be shielded must be sealed inside the shield. A room lined with foil must be completely lined, floor to ceiling, with no gaps or seams, and any openings, doors, windows, etc. must be covered over with mesh or foil, and spring strip around the seams so they seal when closed every time. Outlets, lights and other connections that penetrate the shield, must be filtered for RF, lest they carry signals in as well.
To enclose just a single device, the best bet is to make a foil pouch by folding a sheet in half lengthwise, then crimping the sides down, and finally crimping down the end. Hopefully, the crimping action creates an electrical seal, but you will need some way to verify that this is the case.
Even a five-side-sealed pouch geometry isn't enough, because as long as the opening of the pouch is wide enough to transmit wavelengths of interest, energy can be exchanged with the device within. The frequency of 5G for example might be 5GHz or more, and the critical opening width (wavelength) is just a few inches.