Semi-random Freezes

I’ve been having semi-random freezes on my Fedora 36 ever since I got my laptop (about 5 months ago), and Fedora isn’t the only affected distro (Manjaro and Pop!_OS are also affected). I say semi-random because my system has frozen 3 times when at the end of installing a package via DNF. Other than that, it’s completely random. When my system is frozen, I can move the mouse but nothing else is responsive, and my PC fans get loud. The only way to get out of the freeze is ctrl + alt + f3 and reboot, or hard shutdown. I’ve tried researching the problem and reinstalling but no luck. Any help is appreciated

$ inxi -Fzx
  Kernel: 5.19.14-200.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.37-36.fc36 Desktop: GNOME v: 42.5 Distro: Fedora release 36 (Thirty
  Type: Laptop System: LENOVO product: 82K1 v: IdeaPad Gaming 3 15IHU6
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76463 WIN
    serial: <superuser required> UEFI: LENOVO v: H4CN22WW(V1.07)
    date: 11/18/2021
  ID-1: BAT1 charge: 23.7 Wh (54.6%) condition: 43.4/45.0 Wh (96.5%)
    volts: 11.6 min: 11.5 model: Sunwoda L20D3PC2 status: not charging
  Info: quad core model: 11th Gen Intel Core i7-11370H bits: 64 type: MT MCP
    arch: Tiger Lake rev: 1 cache: L1: 320 KiB L2: 5 MiB L3: 12 MiB
  Speed (MHz): avg: 1284 high: 3881 min/max: 400/4800 cores: 1: 400 2: 784
    3: 1590 4: 1310 5: 485 6: 610 7: 3881 8: 1212 bogomips: 52838
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-12.1 bus-ID: 0000:00:02.0
  Device-2: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: Lenovo
    driver: nvidia v: 515.76 arch: Ampere bus-ID: 0000:01:00.0
  Device-3: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-6:3
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.3 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915
    resolution: 1: 1920x1080 2: 1920x1080~120Hz
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 22.1.7
    direct render: Yes
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl bus-ID: 1-2.3:8
  Device-2: C-Media Blue Snowball type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound Server-1: ALSA v: k5.19.14-200.fc36.x86_64 running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.59 running: yes
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel
    bus-ID: 0000:00:14.3
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel port: 3000 bus-ID: 0000:02:00.0
  IF: enp2s0 state: down mac: <filter>
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-10:7
  Report: rfkill ID: hci0 rfk-id: 3 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 bus-ID: 0000:00:0e.0
  Local Storage: total: 1.14 TiB used: 13.65 GiB (1.2%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZALQ256HBJD-00BL2
    size: 238.47 GiB temp: 33.9 C
  ID-2: /dev/sda vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB
  ID-1: / size: 242.55 GiB used: 13.42 GiB (5.5%) fs: btrfs dev: /dev/sda4
  ID-2: /boot size: 973.4 MiB used: 208 MiB (21.4%) fs: ext4 dev: /dev/sda3
  ID-3: /boot/efi size: 598.8 MiB used: 28 MiB (4.7%) fs: vfat
    dev: /dev/sda2
  ID-4: /home size: 242.55 GiB used: 13.42 GiB (5.5%) fs: btrfs
    dev: /dev/sda4
  ID-1: swap-1 type: zram size: 7.55 GiB used: 0 KiB (0.0%) dev: /dev/zram0
  System Temperatures: cpu: 34.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  Processes: 722 Uptime: 25m Memory: 7.55 GiB used: 4.45 GiB (59.0%)
  Init: systemd target: graphical (5) Compilers: gcc: 12.2.1 Packages: 13
  note: see --rpm Shell: Bash v: 5.2.2 inxi: 3.3.21