Add support for locking store on key. Closes troopjs/troopjs-data#8