I disabled the UCC (and i disabled core 4 and 5 too) = It is that last part in parenthesis that was n0t at all necessary. A simple UCC disable is quite sufficient. Disabling the individual cores and then RE-locking seems now in retrospect a not so good choice. Having never seen one do this and wind-up where you are...the what to do now is a problem.
I can only tell you what I would be doing if I got hung out to dry where you are. And believe me I have at times put myself dangling off a cliff holding on to a tree root.
1. > The number one, most firstest thing I would do is turn off the computer and un-plug the power supply from the wall outlet.
2. > I would then remove the battery from the motherboard and IF there is a CmOs jumper I would set it to the Clear CmOs position. I would walk off for at least an hour. NOTE: there are some boards now that have a clear CmOs push button and of course that you cannot hold depressed for an hour, so removing the battery will have to suffice. Over the course of that hour or so wait time, I would maybe press a Clear CmOs button a time or two, but I understand a button is different than a CmOs jumper.
3. > Now an hourish has gone by and I would put the battery back in its' holder and if the board has a CmOs "jumper" I would reposition it to the GO, run, boot whatever position. REapply power to the power supply by plugging it back into the wall outlet or whatever it gets its' power from.
4. > Now try to boot into the bios and there is a setting/menu that says along these lines > Load optimized Defaults or Load Setup defaults or similar. Choose that and save and exit the bios.
5. > REboot into the bios and again Enable ASRock UCC; save and exit the bios and then again REboot into the bios and see if you can Enable CPU Active Core Control again and see if now you have the 0-5 cores available again.
IF the above does not work...then you really have got some work ahead of you, I am afraid, beause we would be surely digging in the dark.