Cargo holds occupy the same pressure vessel as the passenger cabin. The entire airplane is pressurized as the same system. There isn’t a way to depressurize only the cargo area and even if you could planes don’t fly in space, there’s still oxygen at cruise altitudes.