I firmly believe that Lee wrote the story “Watchman” and gave the manuscript to Truman Capote to review/edit.
Capote revised, edited and cleaned up that story and came up with “To Kill a Mockingbird.”
Capote was her lifelong friend, and he was already famous, so he gave this to her as a gift and a hand up.