Added `lock`.