@ADEEL421 I have a 2017 Model S as well.
We are stuck with a motor technology that doesn't allow for "hold", because we have electromagnetic motors on our cars (both front and rear).
Model 3/Y and newer Model S/X have electromagnetic motor on the rear, and permanent magnets motor on the front...