Fixed lock regression

Fixes #27