Added example file for how to lock interruptibly with AutoLock.