forgot to change the access by id call in lock and unlock by id