do not export list_locked and make it static