Make sure to disconnect all external devices in case one of them is causing a problem.
Try a DFU Firmware Revive which resets the security enclave chip and system firmware. This process requires access to another Mac (most likely requires the other Mac to be running macOS 15.x Sequoia).
If that doesn't help, then I think you will need to perform a clean install of macOS which involves erasing the disk which destroys the data on the SSD, followed by reinstalling macOS & restoring from a backup. If you do this, then performing a DFU Firmware Restore would be the best way to do it since that does everything a DFU Firmware Revive does, plus it resets the internal SSD & pushes a clean install of macOS onto the internal SSD. The reset of the internal SSD may resolve some issues that a typical erase may not.
Here is an Apple article with instructions for the DFU Firmware Revive & Restore:
How to revive or restore Mac firmware - Apple Support
If this doesn't resolve the issue or you don't have access to another Mac for the DFU Firmware Revive & Restore, then you will need to have Apple or an Apple Authorized Service Provider examine the laptop.
I hope you have frequent and regular backups already since there are a lot more new ways to permanently lose access to the data stored on the internal SSD of the recent Macs due to all the hardware, software, and security changes.