Yes. And no. Intel cpu's run 1333 or 1600MHz. This is set by Intel. If you use ram faster than 1600, you increase the ratio in the memory controller beyond 1:1. Usually this means you'll need some small OC at least to try and compensate or you probably won't get the full performance of the ram. In other words don't try and use 2400 on a locked i5 or you'll end up running 1866 at best, but more likely 1600. AMD isn't as restricted, the fx series cpus are set at 1866MHz, so for those cpus use 1866 with no need for OC. The A-series APU's much prefer 2133MHz.
You could try faster ram on locked cpus, but when the memory controller was moved off the motherboard itself and became integrated in the cpu it negated much of the benefits of faster ram, either faster by timing or faster speeds. Only certain situations like rendering that use huge amounts of ram show any slight advantage from faster ram and this is usually over the entire render being slightly shorter. Some few games might see a benefit too, but it's just a few fps.
If you plan on OC, faster ram won't hurt, but for locked systems 1600 Intel or 1866 amd (2133 apu) is nominal for good performance / temps