modified lock