A chat packed with photos and videos is heavy to render, especially on an older phone. Clear the app cache first, then in that chat use Settings, Storage and data, Manage storage, to delete the big forwarded videos hogging it. Turning off media auto-download stops new ones piling up. If one specific chat always freezes, clearing that chat's media is the surest fix.
Those chats freeze because the app tries to render years of photos at once. Clear that chat cache from Settings, Storage, which keeps the messages but drops the local media. For a huge group, exporting then clearing old media is the real cure.
Those media heavy chats freeze because the app is trying to render years of photos at once. Clear that chat's cache (Settings > Storage and Data > Manage Storage > pick the chat) to thin it out without deleting the messages.
If it is one enormous group, exporting and then clearing the old media is the only real cure. The app struggles to scroll thousands of images in a single thread on most phones.