First, you can apply for a patent for utility model or invention in China first, and then take the patent applied in China as the priority case. During the priority period (usually 12 months), you can enter foreign countries through PCT or Paris Convention.
Second, directly apply for PCT, and apply for entering China within 30 months after applying for PCT.
It should be noted that, in any case, according to the provisions of Article 20 of the Patent Law, any unit or individual who applies for a patent for invention or utility model completed in China to a foreign country shall file a confidentiality review with the patent administration department of the State Council in advance.