Have you looked other players'performamce against those 3 teams?
There may be a more straightforward explanation for decline of Lin's stats against OKC and Heats - maybe it is simply because OKC and Heats are better and stronger teams, maybe all, or most of, other PG don't do well against those two teams.