lock for heroku