Added Insert Mode Lock