After I get the invention patent application number (no patent right), can others (including foreign countries) apply for the same patent?

You can apply without any problem. Because the patent examination only looks at the content, you can judge whether it is the same.

In addition, it should be noted that most patent applications from abroad have priority. This may be earlier than the application date of the landlord. The longest period of priority can be traced back to one year.