Actually, hydrolocking the piston usually results in bending of the connecting rod . Valves just naturally keep the pressure in.

But you are correct, adding too much oil can affect the compression reading, simply by taking up the value in the combustion chamber.

I usually just spray some oil (2-3 "quick shots") through a straw and hope that it makes its way to the piston rings...