In the scenario in which both Lloyd and Harry are claiming patent protection for the same invention that each independently created, the rights to protection will be awarded to the one who actually completed the invention first.
This follows from the American standard which states that the "first-to-invent" is awarded the patent.