I have had the same issue that is described here.
First, it would be helpful if older threads didn’t get closed in case other people had helpful information. Auto locking is not helpful for a support forum.
I tried many things to try to fix my issue but the one thing that seems to work is that I changed the USB-C port on my laptop that I was connecting to the docking station with. I don’t know if the port itself is flaking out or what but I’m going to disable and delete that port from device manager and switch back to see if the problem returns.