Update Node.locked_since when updating Node.locked

With tests!