Has and get current locks (closes #32)