Note: The time for the name change you make on platform.openai.com to be reflected in ChatGPT may take up to 15 minutes.
You can change your name in your user settings in platform.openai.com under User -> Settings -> User profile -> Name.
Here is what the settings looks like:
ChatGPT
Change your name on platform.openai.com and refresh ChatGPT to see the update.