More code for the dataset locking functionality.
Merge branch 'master' of github.com:IQSS/dataverse_temp