An alternative Lock Implementation
https://oat-tao.atlassian.net/browse/TP-281