If the lateral capacity of a pile embedded into rock is exceeded then the pile will break off at the rock/soil interface (assuming the rock compressive strength exceeds the strength of the pile). The pile should be modeled with a point of fixidy at this interface. modulus of subgrade reaction...