Invalid patent is the loss of the patent right due to the expiration of the patent right or failure to pay the fee, not the problem of the patent itself, and the invalid patent right is lost from the date of expiration.
A third party (anyone) can enjoy this patent after the occurrence of both, but it needs to be reminded whether the related products have other effective patent protection.