Add the ability to store data with a lock