chore(dependency): upgrade locky dependency and fix locky API calls