TF = acquire(lk,timeout)
acquires an advisory lock and returns a logical 1 (true) if the lock was
successful, and a logical 0 (false) otherwise. If the lock is
unavailable, acquire will continue trying to acquire it for
timeout seconds.
lk — Mutex object persistence service mutex object
A persistence service specific mutex object. If you use Redis™ as your persistence provider, lk will be a mps.sync.TimedRedisMutex object. If you use a MATLAB® as your persistence provider, lk will be a mps.sync.TimedMATFileMutex object.