Whatever length, once it has expired, that method can then be used by anyone to make the item.
Whatever you make must still satisfy other legal requirements, like UL or FDA requirements in order for the item to enter into public commerce.
With expiry coming, the makers try to maintain their market exclusivity by trademark and other methods such as the need for a drug mad under the process for an illness to meet FDA approvals
If you want to demonstrate "reduction to practice", certainly including source code for a working implementation can shore up a patent.
What is "source code" of a patent? Because "open source" concerns source code.