Updated persistent table to allow lock and unlock methods