The first step that you can take is to reset CMOS. Resetting the CMOS in these types of cases can help fix the issue. To do this, you need to open your laptop and remove the CMOS battery.
Microsoft has prepared fresh firmware for the Surface Laptop 4 with Intel processors. The August 2023 update brings security vulnerability patches and a fix for issues when charging over USB-C.