Laptop display not working

I am having issues with my laptop display. I have attached some images to make my situation clear.

In the first image, my laptop display is working for the login screen. In the second, my laptop screen doesn’t show anything after I login. The third image shows that despite my laptop display not working, the monitor I have connected to it works (after the login).

I think this issue started when I updated my system on Monday.

Laptop Specs:
Manufacturer: HP
Device: HP Laptop 14-dk1xxx
CPU: AMD Ryzen 3