¿Qué papel tiene el artículo 21 LPRL ante un riesgo grave e inminente de atrapamiento?