beginning decorators documentation
Locking code example