Return a lock dictionary for a token.
If the lock does not exist or is expired, None is returned.
lock token
Lock dictionary or <None>
Side effect: if lock is expired, it will be purged and None is returned.