Remove lock

Also tidy .gitignore