Remove unused locking code

Does the git_pillar module need locking? If it does then it should either use the code from the gitfs backend instead of copypaste or it should use the locking module from gitpython I think?

Anyway, it looks like it is not used so I removed it.