Protection against shocks or vibrations