BetterTouchTool has a "Bluetooth LE device moved away".. Maybe that can detect Apple Watch moving away, and then lock or even shut down the computer..
EDIT: Confirmed. This works. In a few minutes, I was able to set it up so that if my watch moves about a meter away from the mac, it'll lock the screen. It supports any Bluetooth LE device.