To check in, your boarding gate agent will look for a stamp on your boarding pass that you passed through LHR security. Good luck just getting that done in 35 minutes.
You might make it if you are in very early AND have your LHR-ORD boarding pass from a US gate agent AND get off the plane in a hurry. The gates won't be too far apart. 75% chance you're toast.