Looks like I'm having the same problem. Brand new Mac Book Pro freezing trackpad and keyboard at random (not externaly connected but in built keyboard and trackpad)
No clue as to what casues it to happen, though it has only happened on wireless network not ethernet network, not sure if that means anything. Only solution is to hold the power button down and restart. System log just prior to forced shutdown is as follows
Nov 3 22:19:48 simons-mbp Google Chrome Helper[760]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)
Nov 3 22:19:49 simons-mbp Google Chrome Helper[762]: Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650
Nov 3 22:19:49 simons-mbp Google Chrome Helper[763]: Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650
Nov 3 22:20:35 simons-mbp kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 5 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2)
Nov 3 22:21:06 --- last message repeated 1 time ---
Nov 3 22:21:06 simons-mbp kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 5 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2)
Nov 3 22:21:20 --- last message repeated 1 time ---
Nov 3 22:21:20 simons-mbp Mail[733]: *** WARNING: Method userSpaceScaleFactor in class NSWindow is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
Nov 3 22:21:54 simons-mbp kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 5 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2)
Nov 3 22:22:38 --- last message repeated 2 times ---
Nov 3 22:22:46 simons-mbp kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 5 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2)
Nov 3 22:22:52 simons-mbp kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 5 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2)
Nov 3 22:23:23 simons-mbp kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 5 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2)
Nov 3 22:24:08 simons-mbp kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 5 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2)
Nov 3 22:24:54 --- last message repeated 1 time ---
Nov 3 22:25:00 simons-mbp kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 5 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2)
Nov 3 22:25:09 simons-mbp kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 5 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2)
Nov 3 22:25:43 --- last message repeated 1 time ---
Nov 3 22:25:55 simons-mbp kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 5 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2)
Nov 3 22:26:14 simons-mbp kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 5 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2)
Nov 3 22:27:01 --- last message repeated 1 time ---
Nov 3 22:27:05 simons-mbp kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 5 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2)
Nov 3 22:27:18 simons-mbp kernel[0]: The USB device Apple Internal Keyboard / Trackpad (Port 5 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2)
Nov 3 22:27:44 simons-mbp ntpd[44]: FREQ state ignoring +0.043026 s
Still looking to see if there is a solution out there.