Fix gitignore file to no longer include .lock file
Add exception for non-windows enviorments, cause windows is windows