Added LocksExample.

Signed-off-by: mateusz <kontakt@mateuszmidor.com>