Freezing only when signing into PSN in Need for Speed Carbon suggests a network-handling or save-data conflict. Try these fixes in order:
If all fail, the game's PSN lobby code may be incompatible with current PSN infrastructure (EA shut down original servers; PSN now handles matchmaking via legacy bridges). In that case, only offline play is stable.