Can add and remove a lock