Wrote Lock spec