how to make games not openable in rpg maker 2003 by others when releasing it?

Unless I'm missing something, you can't just open a published game in your editor—it simply doesn't work that way.
You can. Simply use RPG Maker's "Open Project" dialog to open the game's folder. (Select the parent folder as base path so the game folder itself is listed as project within.) Alternatively, drag any of the files in the game's main directory, such as the EXE file, onto RPG2003.exe.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-games-not-openable-in-rpg-maker-2003-by-others-when-releasing-it.171886/