Installing custom SmartApps in the SmartThings IDE can be a bit tricky at first but you’ll find many guides on the community to show you how to do it.
As for controlling the locks, @ethayer has recently released an updated Lock Manager smartapp which will let you add users to your locks. It even gives the ability to create one-time/limited time use codes and scheduled codes.