Maybe he did, maybe he didn't. Anybody can sign up for the insider's preview program and get W10 for free. It just can't be activated and it will eventually expire, not to mention that it will never be as stable.
On the other hand, anybody can force their W10 update. Maybe that's what you're friend did. More about that is described here (item 3):