Updated lock library, added example app
Update locks docs