Locking working with Futex