PabotLib with locking
working lock mechanism