two phase locking