Ignore temp files and lock files