Visible in the laboratory and invisible in cosmology: Decaying sterile neutrinos