Spain outlines plan to ease lockdown, deaths top 24,000