Booted into my Ubuntu 22.04.1 Framework laptop.
Open a terminal window, then using your mouse paste in:
sudo gedit /etc/modprobe.d/framework-als-blacklist.conf
This will open up a blank text file. Copy and paste the following into it, then press the save button.
blacklist hid_sensor_hub
Now still in the terminal, copy/paste this and press enter.
sudo update-initramfs -u
Now you can reboot your computer. This was tested on a fresh install of Ubuntu 22.04.1 on 12th gen Framework.