Added compile to gitignore.
Added lock command, which is working only for the config section at the moment.