MBP Keys 'stick' when it gets hot
I suspect that this is the topcase module malfunctioning.

However, a good troubleshooting step would be to connect a USB keyboard &amp; mouse and see if the issue continues with those external devices once the problem manifests.
This will allow you to ascertain if the topcase is at fault and/or if the issue is software based (although it seems to be hardware as you're seeing similar/related issues in OSX and Windows).

Past that I would take the machine to an Apple store or AASP where they can test the machine with a known good topcase/keyboard module to fully confirm that the topcase needs replacing (or anything else if the problem is deeper (read:logic board)). If that's what needs replacing then it's a relatively cheap repair.