To learn how to use mechanical boundary conditions please check section II.2.3.1 in the User’s Guide and also the tutorial manual. You can impose a displacement rate or impose a calculated stress that, in an elastic material, “instantaneously” gives you a determined displacement.