Not sure about lichess specifically, but I know many game servers are a bit cagey about their cheat detection systems, since they don't want to give the cheaters any hints.
But as a broad concept, one technique is to compare moves against bot suggested moves. i.e. if a high % of your moves are those that a strong AI would make, something is fishy.