I just finished rebuilding an otherwise-nice 750K2 engine that had a "cam" installed by someone a long time ago, which got the bike parked, apparently.
It took all 8 cam-bearing bolts/studs new Helicoils (4 already were Helicoiled, but badly done, even twisted sideways in the holes) and sealing it shut under the #2 bearing's bolt-hole as someone had broken the bottom right out of the head. Then 2 more of the cam bearing hold-down bolts (there are 4) were stripped out, too. So, when the "rebuilder" attempted to ride it, the vales likely clattered and kept changing their valve lash all by themselves, which explains why all the rocker locknuts were almost round from many, many adjustments being done to them.
It takes a little patience, but it can be fixed. One of the cam-bearing bolts would not unscrew when I started, so after loosening the cam as MadMtn describes above I gently pried upward on the bearing while turning (with cam removed) to help me get that one out. Everything torqued back to spec numbers afterward, using 8mm-long Helicoil inserts.
...Then I had to Helicoil even more, of the cam-cover hold-down screws...I think that mechanic was either a gorilla, or had too much beer to help him out.