BACKLOG-4506 : set locks as an option for the provider