This `nil?` check could actually happen outside of the block and just return `ordered_lock_children` if `lock_number` is `nil`.