I'm driving a door that slides left to right and right to left. When it reaches its end positions I want it to resist movement from gentle presses (obviously if they push on it hard enough it will no matter what.). I believe I would do this by locking the motor shaft. Can I do that with this chip?