In the United States, copyright protection for works created by authors who died before January 1, 1978, generally lasts for 95 years from the date of publication or 120 years from the date of creation, whichever is shorter. Since O. Henry died in 1910, his works published before 1923 are now in the public domain in the United States, while those published after 1923 are still under copyright protection.
However, it's important to note that copyright laws vary by country, and the copyright status of O. Henry's works may differ in other jurisdictions. If you plan to use or reproduce any of O. Henry's stories, it is recommended that you consult the relevant copyright laws and regulations in your specific location to determine whether the work is still under copyright protection and, if so, obtain the necessary permissions or licenses before using the material.