If an orc found the One Ring, would it try to use it? Or were the orcs "programmed" to turn it over to Sauron?
In his letter 246, JRRT spoke about the likely consequences should Frodo (or any other lesser being) decide to take control of the ring.
In short, the ring will drive anyone who claims it into a state of megalomaniacal madness. They'll become obsessed with trying to dominate the world and will ultimately seek to confront Sauron himself, at which point Sauron will utterly destroy them.
An orc that discovered the ring would suffer the same fate. Their arrogance, cruelty and lack of intelligence would surely make them prime fodder for trying to use the One Ring's power. They would instantly become a petty Lord of the Ring and a prime target for the Nazgul or Sauron himself.
He needed time, much time, before he could control the Ring or (which in such a case is the same) before it could control him; before his will and arrogance could grow to a stature in which he could dominate other major hostile wills.
But if he still preserved some sanity and partly understood the significance of it, so that he refused now to go with them to Barad-dûr, they would simply have waited. Until Sauron himself came. In any case a confrontation of Frodo and Sauron would soon have taken place, if the Ring was intact. Its result was inevitable. Frodo would have been utterly overthrown: crushed to dust, or preserved in torment as a gibbering slave.