A trade-off in between self-isolation and lockdown