There is no evidentiary basis for the extreme lock-down Spain is using.
While this disease is pretty contagious, you are pretty unlikely to get it walking around outside or going for a run. Especially if everyone is wearing a mask.
It's possible you could catch it by running through a cloud of an infected persons breath, but the risk is low enough that we shouldn't ban outside activities.
The vast, vast majority of infections occur from sustained contact (>15min) within a few feet of someone.