This is the second TB4 dock that I've tried (model is a Echo 11 Thunderbolt 4 Dock) and I'm getting the exact same behavior so its unlikely it is the the dock and far more likely its the laptop or its graphics card or some driver issue.
I have 2 monitors, one is an ASUS VP28U (supports DP and HDMI) and an older Samsung T24B350 (supports HDMI). Each monitor is connected to the TB4 dock via USB-C cable and then the dock is connected to the laptop's TB port. The TB port seems to otherwise be working fine as it charges the laptop as it should. But no matter what I try I can only get one of the two monitors to display (whatever one is connected first), I've tried them both on HDMI, or the newer one on DP and the older one on HDMI but it makes no difference. In Win 10 Display settings it does not detect the second monitor, I get only the laptop display and one monitor. If I close the lid I get just the one monitor.
If I connect one monitor to the dock, and run a standard HDMI cable to the laptop's HDMI out then I get 2 monitors detected but the whole purpose of a TB port is its supposed to be a single connection you dock to that handles everything which does not appear to be the case with this laptop. I already sent a probably good dock back to Razer so I really need a solution to this or I'm gonna have to send the laptop back and go with another manufacturer.