俊霏 wrote:
I think my dock is HP – HP Thunderbolt Dock 120W G2 which works fine with windows.
is there any sulotion that can make it works fine with mac os
Based on the symptoms you reported it does not sound like your dock is the Thunderbolt one. That one would look like this

I count five places to plug in monitors: a VGA port (#7), two DisplayPorts (#8), a USB-C port with DisplayPort Alt Mode support (#9), and a Thunderbolt daisy-chaining port (#12). Macs support at most two, and it is likely that this one gets to five by using MST. Macs do not support MST, and the typical symptom is "mirroring" that cannot be shut off.
You would need to experiment to find which combination of outputs worked, but my guess is that the Thunderbolt daisy-chaining port is connected to one signal and that all of the other outputs are connected to another.
https://h30434.www3.hp.com/t5/Notebooks-Archive-Read-Only/Is-the-HP-G2-Thunderbolt-Docking-Station-Compatible-with/td-p/7601256
This is the HP USB-C/A Universal G2 dock that depends on the DisplayLink workaround.

It requires installation of a DisplayLink driver. No driver, no video. If it "works fine with windows" on a Windows PC that has had the DisplayLink driver installed, that says nothing about macOS being to blame when you try to use this dock with a Mac that does not have DisplayLink drivers installed.
HP Support – HP USB-C/A Universal Dock G2
(But if you have a DisplayLink-based dock and there are changes in macOS that break the the drivers needed for the workaround, you will generally have to depend upon your dock vendor, or more likely, Synaptics, to fix them.)