Added lockEnabled attribute to xml, true by default

Added the lockEnabled attribute to the readme, made it state-persistable and set to true as default.