added documentation of the locker class