Si tu Samsung Galaxy S5 se ha congelado (pantalla estática, no responde):
Ambos métodos son "Soft Reset" (reinicio forzado) y no borran datos. Si el teléfono se congela muy a menudo, haz backup y considera Factory Reset (Ajustes > Gestión general > Restablecer > Restablecer datos de fábrica) o revisa apps problemáticas.