Stop Lock after a sync error
Stop Lock after a sync error

It will stop on every sync error unless it comes from a SSO data
sync. Now it is hardcoded but it should be configurable.

mike-casas/lock,mike-casas/lock,mike-casas/lock