The buf.lock file is unchanged between v1beta1 and v1, so refer to the v1 buf.lock documentation!
buf.lock
v1beta1
v1