Allow incrementation of currently held locks.

Closes #27.