The device keeps freezing whilst in-use during
charging or playing games
If you use the device whilst charging, it’s prone to heating up. If the temperature is too high, the overheat protection function on the device can reduce system performance, thus resulting in freezing. It is recommended to charge your phone at night or when you don't need to use it temporarily.
If you use the phone while playing games, the mobile phone is also prone to heating up, which may cause freezing. You can adjust the game settings, and reduce the screen brightness appropriately. In normal use, it's recommended to disable power-intensive apps and features such as Bluetooth and NFC and turn them on when needed, which can reduce heat and power consumption.