Question: why does exley sleep with lynn?
Answer: She did it because Patchett (her employer) told her to. She was, after all, a high class prostitute. Moreover, various conspirators wanted to get some dirt on Exley do derail his investigation into the Nite (or was it Night?) Owl killings.