Convert `lock` to Strata.

See #375.