If you want unlimited speed in Need for Speed Most Wanted, there is a trainer available over at https://www.nfscars.com/.
That trainer includes a command that lets you unlock unlimited speed along with a handful of other fun tweaks. Just be aware that using trainers can affect game stability and may not be allowed in all contexts, so use it wisely.